aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorWang Nan <[email protected]>2015-09-04 21:16:00 +0900
committerArnaldo Carvalho de Melo <[email protected]>2015-09-04 12:34:23 -0300
commit12fae5ef6dc6031ffcf4dffc6be5a16080e7dd7d (patch)
tree113c03e8d43a0fc20c4e017b7395c1a9580eadf2 /tools/perf/scripts/python/bin
parent844dffa598b55fca6a83a856214fc0cfc3da24e5 (diff)
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 <[email protected]> Acked-by: Masami Hiramatsu <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] [namhyung: extract necessary part from the existing patch] Signed-off-by: Namhyung Kim <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions