Re: [RFC PATCH net-next 2/4] perf tools: Introduce bpf-output event

2015-10-28 Thread Sergei Shtylyov
Hello. On 10/28/2015 1:55 PM, Wang Nan wrote: Commit a43eec304259a6c637f4014a6d4767159b6a3aa3 (bpf: introduce bpf_perf_event_output() helper) add a helper to enable BPF program You haven't run the patch thru scripts/checkpath.pl, I guess? It now enforces the certain style of citing a comm

[RFC PATCH net-next 2/4] perf tools: Introduce bpf-output event

2015-10-28 Thread Wang Nan
Commit a43eec304259a6c637f4014a6d4767159b6a3aa3 (bpf: introduce bpf_perf_event_output() helper) add a helper to enable BPF program output data to perf ring buffer through a new type of perf event PERF_COUNT_SW_BPF_OUTPUT. This patch enable perf to create perf event of that type. Now perf user can u