perf trace: Look for default name for entries in the syscalls prog array
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 16 Jul 2019 18:24:58 +0000 (15:24 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 29 Jul 2019 21:34:41 +0000 (18:34 -0300)
commit8b8044e5c9527cdfff3b0937f2d17470cc4acf9e
tree8c0a067b5a0f746fedaa9a13ece8803321dd399b
parent8d5da2649d8211e63c5f65ccf8945f2c46a9c0b8
perf trace: Look for default name for entries in the syscalls prog array

I.e. just look for "!syscalls:sys_enter_" or "exit_" plus the syscall
name, that way we need just to add entries to the
augmented_raw_syscalls.c BPF source to add handlers.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Luis Cláudio Gonçalves <lclaudio@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-6xavwddruokp6ohs7tf4qilb@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-trace.c