diff options
author | 2019-10-14 20:13:51 -0300 | |
---|---|---|
committer | 2019-10-15 13:03:57 -0300 | |
commit | 7fbfe22cf4cfe01a88704dd76ca65d108039d297 (patch) | |
tree | 579b8171c79af2539a10f2258005c7a4b35966b0 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | perf string: Export asprintf__tp_filter_pids() (diff) | |
download | wireguard-linux-7fbfe22cf4cfe01a88704dd76ca65d108039d297.tar.xz wireguard-linux-7fbfe22cf4cfe01a88704dd76ca65d108039d297.zip |
perf trace: Filter own pid to avoid a feedback look in 'perf trace record -a'
When doing a system wide 'perf trace record' we need, just like in 'perf
trace' live mode, to filter out perf trace's own pid, so set up a
tracepoint filter for the raw_syscalls tracepoints right after adding
them to the argv array that is set up to then call cmd_record().
Reported-by: Andi Kleen <ak@linux.intel.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.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-uysx5w8f2y5ndoln5cq370tv@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions