diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-03-19 23:19:06 -0400 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-03-27 16:39:02 -0400 |
commit | b3b1e6ededa4337940adba6cf06e8351056e3097 (patch) | |
tree | d316c05b89cf064f9221aaac8afb0c9b259f6e8a /tools/perf/builtin-script.c | |
parent | 717e3f5ebc823e5ecfdd15155b0fd81af9fc58d6 (diff) |
ftrace: Create set_ftrace_notrace_pid to not trace tasks
There's currently a way to select a task that should only be traced by
functions, but there's no way to select a task not to be traced by the
function tracer. Add a set_ftrace_notrace_pid file that acts the same as
set_ftrace_pid (and is also affected by function-fork), but the task pids in
this file will not be traced even if they are listed in the set_ftrace_pid
file. This makes it easy for tools like trace-cmd to "hide" itself from the
function tracer when it is recording other tasks.
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions