On 2015/6/9 21:59, Arnaldo Carvalho de Melo wrote:
Em Tue, Jun 09, 2015 at 05:50:04AM +, Wang Nan escreveu:
This is the 6th version which tries to introduce eBPF programs to perf.
It enables 'perf record' to filter events using eBPF programs like:
# perf record --event bpf-file.c sleep
On 6/9/15 2:44 PM, Arnaldo Carvalho de Melo wrote:
btw we've been thinking how to make truly global programs
and maps, so that they can be used in 'perf probe' interface.
Right now in 'tc' we're using bpf_agent. It's a user space
demon that keeps prog_fd and map_fds and passes them to other
app
Em Tue, Jun 09, 2015 at 02:30:36PM -0700, Alexei Starovoitov escreveu:
> On 6/8/15 10:50 PM, Wang Nan wrote:
> ># perf record --event lock_page.c ls /
> >Added new event:
> > perf_bpf_probe:lock_page (on __lock_page)
> >
> >You can now use it in all perf tools, such as:
> agree wi
On 6/8/15 10:50 PM, Wang Nan wrote:
# perf record --event lock_page.c ls /
Added new event:
perf_bpf_probe:lock_page (on __lock_page)
You can now use it in all perf tools, such as:
agree with Arnaldo. The output is misleading.
All these events will disappear when 'perf record
Em Tue, Jun 09, 2015 at 05:50:04AM +, Wang Nan escreveu:
> This is the 6th version which tries to introduce eBPF programs to perf.
> It enables 'perf record' to filter events using eBPF programs like:
>
> # perf record --event bpf-file.c sleep 1
Thanks for doing this, comments below for this
This is the 6th version which tries to introduce eBPF programs to perf.
It enables 'perf record' to filter events using eBPF programs like:
# perf record --event bpf-file.c sleep 1
and
# perf record --event bpf-file.o sleep 1
This patch series is based on tip/perf/core (a3d8654).
Compared wi
6 matches
Mail list logo