lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 13 May 2014 20:29:14 -0700
From:	Alexei Starovoitov <ast@...mgrid.com>
To:	Steven Rostedt <rostedt@...dmis.org>
Cc:	Ingo Molnar <mingo@...nel.org>,
	"David S. Miller" <davem@...emloft.net>,
	Eric Dumazet <edumazet@...gle.com>,
	Daniel Borkmann <dborkman@...hat.com>,
	Peter Zijlstra <a.p.zijlstra@...llo.nl>,
	Arnaldo Carvalho de Melo <acme@...radead.org>,
	Jiri Olsa <jolsa@...hat.com>,
	Thomas Gleixner <tglx@...utronix.de>,
	"H. Peter Anvin" <hpa@...or.com>,
	Network Development <netdev@...r.kernel.org>,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH RFC net-next] tracing: accelerate tracing filters with BPF

On Tue, May 13, 2014 at 8:17 PM, Steven Rostedt <rostedt@...dmis.org> wrote:
> On Tue, 13 May 2014 19:55:11 -0700
> Alexei Starovoitov <ast@...mgrid.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:

Sorry I wasn't clear in the log.
This patch depends on JIT patches that were posted separately.
Since this one is RFC, I didn't want to mix them.
JIT patches:
http://patchwork.ozlabs.org/patch/348558/
http://patchwork.ozlabs.org/patch/348559/
http://patchwork.ozlabs.org/patch/348560/

> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists