aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/examples/bpf/augmented_raw_syscalls.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2018-12-12 13:47:40 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2018-12-18 12:23:57 -0300
commit0df50e0b0e0f315c0d5e2ce8556aafe1403b4a4b (patch)
treed9addb7349afffa8e5e286f11701a75dc99dcaf0 /tools/perf/examples/bpf/augmented_raw_syscalls.c
parentperf trace: Rename set_ev_qualifier_filter to clarify its a tracepoint filter (diff)
downloadlinux-dev-0df50e0b0e0f315c0d5e2ce8556aafe1403b4a4b.tar.xz
linux-dev-0df50e0b0e0f315c0d5e2ce8556aafe1403b4a4b.zip
perf trace: Avoid using raw_syscalls in duplicity with eBPF augmentation
So when we do something like: # perf trace -e open*,augmented_raw_syscalls.o We need to set trace->trace_syscalls because there is logic that use that when mixing strace-like output with other events, such as scheduler tracepoints, but with that set we ended up having multiple raw_syscalls:sys_{enter,exit} setup, which garbled the output, so check if trace->augmented_raw_syscalls is set and avoid the two extra tracepoints. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Wang Nan <wangnan0@huawei.com> Link: https://lkml.kernel.org/n/tip-kjmnbrlgu0c38co1ye8egbsb@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/examples/bpf/augmented_raw_syscalls.c')
0 files changed, 0 insertions, 0 deletions