Re: [PATCH V2 1/2] bpf: control the trace data output on current cpu when perf sampling

2015-10-14 Thread Alexei Starovoitov
On 10/14/15 5:37 AM, Kaixu Xia wrote: This patch adds the flag sample_disable to control the trace data output process when perf sampling. By setting this flag and integrating with ebpf, we can control the data output process and get the samples we are most interested in. The bpf helper

Re: [PATCH V2 1/2] bpf: control the trace data output on current cpu when perf sampling

2015-10-14 Thread kbuild test robot
Hi Kaixu, [auto build test WARNING on net-next/master -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url:

[PATCH V2 1/2] bpf: control the trace data output on current cpu when perf sampling

2015-10-14 Thread Kaixu Xia
This patch adds the flag sample_disable to control the trace data output process when perf sampling. By setting this flag and integrating with ebpf, we can control the data output process and get the samples we are most interested in. The bpf helper bpf_perf_event_sample_control() can control the

Re: [PATCH V2 1/2] bpf: control the trace data output on current cpu when perf sampling

2015-10-14 Thread Alexei Starovoitov
On 10/14/15 5:37 AM, Kaixu Xia wrote: This patch adds the flag sample_disable to control the trace data output process when perf sampling. By setting this flag and integrating with ebpf, we can control the data output process and get the samples we are most interested in. The bpf helper

[PATCH V2 1/2] bpf: control the trace data output on current cpu when perf sampling

2015-10-14 Thread Kaixu Xia
This patch adds the flag sample_disable to control the trace data output process when perf sampling. By setting this flag and integrating with ebpf, we can control the data output process and get the samples we are most interested in. The bpf helper bpf_perf_event_sample_control() can control the

Re: [PATCH V2 1/2] bpf: control the trace data output on current cpu when perf sampling

2015-10-14 Thread kbuild test robot
Hi Kaixu, [auto build test WARNING on net-next/master -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: