selftests: ftrace: Have event tests also run in an tracing instance

The ftrace selftests of events: event-enable, event-pid, and
subsystem-enable can all be run inside an instance. Change their tests to do
both a toplevel run an an instance run.

Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
This commit is contained in:
Steven Rostedt (VMware) 2017-04-20 13:39:40 -04:00
parent 6df0fee3e8
commit 35df6a894e
3 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,6 @@
#!/bin/sh
# description: event tracing - enable/disable with event level files
# flags: instance
do_reset() {
echo > set_event

View File

@ -1,5 +1,6 @@
#!/bin/sh
# description: event tracing - restricts events based on pid
# flags: instance
do_reset() {
echo > set_event

View File

@ -1,5 +1,6 @@
#!/bin/sh
# description: event tracing - enable/disable with subsystem level files
# flags: instance
do_reset() {
echo > set_event