aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2019-07-16 14:27:03 +0000
committerArnaldo Carvalho de Melo <[email protected]>2019-07-29 21:34:41 +0000
commit3803a229312de539d2878f2fc5c6ee0202ce6728 (patch)
treeb4ad2f5482dd6fd9d82f88d0a86e62760c6a3b02 /tools/perf/util/trace-event-scripting.c
parentperf trace: Allow specifying the bpf prog to augment specific syscalls (diff)
downloadkernel-3803a229312de539d2878f2fc5c6ee0202ce6728.tar.gz
kernel-3803a229312de539d2878f2fc5c6ee0202ce6728.zip
perf trace: Put the per-syscall entry/exit prog_array BPF map infrastructure in place
I.e. look for "syscalls_sys_enter" and "syscalls_sys_exit" BPF maps of type PROG_ARRAY and populate it with the handlers as specified per syscall, for now only 'open' is wiring it to something, in time all syscalls that need to copy arguments entering a syscall or returning from one will set these to the right handlers, reusing when possible pre-existing ones. Next step is to use bpf_tail_call() into that. Cc: Adrian Hunter <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Luis Cláudio Gonçalves <[email protected]> Cc: Namhyung Kim <[email protected]> Link: https://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions