lkml.org 
[lkml]   [2014]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH RFC net-next] tracing: accelerate tracing filters with BPF
On Tue, 13 May 2014 19:55:11 -0700
Alexei Starovoitov <ast@plumgrid.com> wrote:

> Tracing filters are parsing user supplied character string and constructing
> a predicate tree. filter_match_preds() was used to walk nodes of the tree to
> simulate matching of boolean expression.
>

I applied this on top of net-next, from:

git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git
(master branch)

and got this compile error:

kernel/trace/trace_events_filter.c: In function ‘emit_cond’:
kernel/trace/trace_events_filter.c:1361:36: error: ‘__bpf_call_base’ undeclared (first use in this function)
kernel/trace/trace_events_filter.c:1361:36: note: each undeclared identifier is reported only once for each function it appears in
kernel/trace/trace_events_filter.c: In function ‘filter_gen_bpf’:
kernel/trace/trace_events_filter.c:1622:2: error: implicit declaration of function ‘bpf_int_jit_compile’ [-Werror=implicit-function-declaration]

Config attached.

-- Steve
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2014-05-14 06:01    [W:0.080 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site