diff options
author | Wang Nan <[email protected]> | 2016-07-13 10:44:04 +0000 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-07-13 23:09:03 -0300 |
commit | cd102d70fe957b060b9df6bc4f54684de3fe00cd (patch) | |
tree | b8743f75355d1682f4e90c0aa5425a0037d42e6b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8c619d6a333f98087816e64c62f0f2389e19ab4a (diff) |
perf bpf: Rename bpf__foreach_tev() to bpf__foreach_event()
Following commit will allow BPF script attach to tracepoints.
bpf__foreach_tev() will iterate over all events, not only kprobes.
Rename it to bpf__foreach_event().
Since only group and event are used by caller, there's no need to pass
full 'struct probe_trace_event' to bpf_prog_iter_callback_t. Pass only
these two strings. After this patch bpf_prog_iter_callback_t natually
support tracepoints.
Signed-off-by: Wang Nan <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Zefan Li <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions