lkml.org 
[lkml]   [2015]   [Jun]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.


\
 
 \ /
  Last update: 2015-06-26 10:41    [W:0.213 / U:0.880 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site