Re: [RFC PATCH tip 5/5] tracing filter examples in BPF

2013-12-03 Thread Alexei Starovoitov
On Tue, Dec 3, 2013 at 4:35 PM, Jonathan Corbet wrote: > On Mon, 2 Dec 2013 20:28:50 -0800 > Alexei Starovoitov wrote: > >> GCC-BPF backend is available on github >> (since gcc plugin infrastructure doesn't allow for out-of-tree backends) > > Do you have a pointer to where this backend can be

Re: [RFC PATCH tip 5/5] tracing filter examples in BPF

2013-12-03 Thread Jonathan Corbet
On Mon, 2 Dec 2013 20:28:50 -0800 Alexei Starovoitov wrote: > GCC-BPF backend is available on github > (since gcc plugin infrastructure doesn't allow for out-of-tree backends) Do you have a pointer to where this backend can be found? I've done a bit of digging around but seem to be unable to

[RFC PATCH tip 5/5] tracing filter examples in BPF

2013-12-02 Thread Alexei Starovoitov
filter_ex1: filter that prints events for loobpack device only $ cat filter_ex1.bpf > /sys/kernel/debug/tracing/events/net/netif_receive_skb/filter $ echo 1 > /sys/kernel/debug/tracing/events/net/netif_receive_skb/enable $ ping -c1 localhost $ cat /sys/kernel/debug/tracing/trace_pip p