selftests/ftrace: Add test to test new set_ftrace_notrace_pid file
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Thu, 26 Mar 2020 17:11:25 +0000 (13:11 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 27 Mar 2020 20:39:02 +0000 (16:39 -0400)
commited8839e072b8f4a8e17575fd22fe5348fe6d6a2a
treeb16d6b7daa53460cbdfdeb3f62dea8cab2dc03ed
parent2768362603018da2be44ae4d01f22406152db05a
selftests/ftrace: Add test to test new set_ftrace_notrace_pid file

A new file was added to the tracing directory that will allow a user to
place a PID into it and the task associated to that PID will not be traced
by the function tracer. If the function-fork option is enabled, then neither
will the children of that task be traced by the function tracer.

Cc: linux-kselftest@vger.kernel.org
Cc: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
tools/testing/selftests/ftrace/test.d/ftrace/func-filter-notrace-pid.tc [new file with mode: 0644]