diff options
author | Wang Nan <wangnan0@huawei.com> | 2015-09-04 15:16:00 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-09-04 18:34:23 +0300 |
commit | 12fae5ef6dc6031ffcf4dffc6be5a16080e7dd7d (patch) | |
tree | 113c03e8d43a0fc20c4e017b7395c1a9580eadf2 /tools/perf/builtin-probe.c | |
parent | 844dffa598b55fca6a83a856214fc0cfc3da24e5 (diff) | |
download | linux-12fae5ef6dc6031ffcf4dffc6be5a16080e7dd7d.tar.xz |
perf probe: Link trace_probe_event into perf_probe_event
This patch drops struct __event_package structure. Instead, it adds a
'struct trace_probe_event' pointer to 'struct perf_probe_event'.
The trace_probe_event information gives further patches a chance to
access actual probe points and actual arguments.
Using them, 'perf probe' can get the whole list of added probes and
print them at once.
Other users like the upcoming bpf_loader will be able to attach one bpf
program to different probing points of an inline function (which has
multiple probing points) and glob functions.
Moreover, by reading the arguments information, bpf code for reading
those arguments can be generated.
Signed-off-by: Wang Nan <wangnan0@huawei.com>
Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: pi3orama@163.com
Link: http://lkml.kernel.org/r/1441368963-11565-2-git-send-email-namhyung@kernel.org
[namhyung: extract necessary part from the existing patch]
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-probe.c')
0 files changed, 0 insertions, 0 deletions