| Date | Fri, 26 Jun 2015 01:29:36 -0700 | From | Alexei Starovoitov <> | Subject | Re: [RFC PATCH v8 43/49] perf tools: Iterater over tev instead of pev in bpf__for_each_program |
| |
On 6/24/15 5:31 AM, Wang Nan wrote: > This patch renames bpf__for_each_program() to bpf__for_each_tev() and > makes it iterate over 'struct probe_trace_event' instead of > 'struct probe_trace_event' during the loop. The callback (add_bpf_event()) > now get rid of the iteration. > > This is preparation for further patches, which will allow generating > multiple instances form one BPF program and install then onto different > 'struct probe_trace_event'. > > Signed-off-by: Wang Nan<wangnan0@huawei.com>
please squash this patch with earlier one that introduces this function.
|