diff options
| author | Steven Rostedt (VMware) <[email protected]> | 2020-03-25 23:51:19 +0000 |
|---|---|---|
| committer | Steven Rostedt (VMware) <[email protected]> | 2020-03-27 20:39:02 +0000 |
| commit | 2768362603018da2be44ae4d01f22406152db05a (patch) | |
| tree | 7dddfe9c57c87e56138f14a8d01611ea7e1fff66 /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | ftrace: Create set_ftrace_notrace_pid to not trace tasks (diff) | |
| download | kernel-2768362603018da2be44ae4d01f22406152db05a.tar.gz kernel-2768362603018da2be44ae4d01f22406152db05a.zip | |
tracing: Create set_event_notrace_pid to not trace tasks
There's currently a way to select a task that should only have its events
traced, but there's no way to select a task not to have itsevents traced.
Add a set_event_notrace_pid file that acts the same as set_event_pid (and is
also affected by event-fork), but the task pids in this file will not be
traced even if they are listed in the set_event_pid file. This makes it easy
for tools like trace-cmd to "hide" itself from beint traced by events when
it is recording other tasks.
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
