selftests/ftrace: Add test to test new set_event_notrace_pid file
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Thu, 26 Mar 2020 17:14:25 +0000 (13:14 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 27 Mar 2020 20:39:02 +0000 (16:39 -0400)
commitebed9628f5c2101e1ab546de3b0742e0bb9eba3c
treef731c13b0766899037e65c0007b9a07646e997ef
parented8839e072b8f4a8e17575fd22fe5348fe6d6a2a
selftests/ftrace: Add test to test new set_event_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 have its
events traced.  If the event-fork option is enabled, then neither will the
children of that task have its events traced.

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/event/event-no-pid.tc [new file with mode: 0644]