Re: [PATCH bpf-next 7/7] tools/bpftool: add perf subcommand

2018-05-15 Thread Yonghong Song
On 5/15/18 9:41 PM, Jakub Kicinski wrote: On Tue, 15 May 2018 16:45:21 -0700, Yonghong Song wrote: The new command "bpftool perf [show]" will traverse all processes under /proc, and if any fd is associated with a perf event, it will print out related perf event information. Below is an exampl

Re: [PATCH bpf-next 7/7] tools/bpftool: add perf subcommand

2018-05-15 Thread Jakub Kicinski
On Tue, 15 May 2018 16:45:21 -0700, Yonghong Song wrote: > The new command "bpftool perf [show]" will traverse > all processes under /proc, and if any fd is associated > with a perf event, it will print out related perf event > information. > > Below is an example to show the results using bcc com

[PATCH bpf-next 7/7] tools/bpftool: add perf subcommand

2018-05-15 Thread Yonghong Song
The new command "bpftool perf [show]" will traverse all processes under /proc, and if any fd is associated with a perf event, it will print out related perf event information. Below is an example to show the results using bcc commands. Running the following 4 bcc commands: kprobe: trace.py '