selftests: ftrace: Allow some event trigger tests to run in an instance

Some of the event triggers can run fine in an instance. Have them tested in
one as well. The ones that still need work are the snapshot, stacktrace and
traceon/off triggers, as they don't currently pass a handle to the
trace_array they are attached to. But that can be for a future project.

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 14:20:19 -04:00
parent 03c201759e
commit ca2958f14c
5 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,6 @@
#!/bin/sh
# description: event trigger - test event enable/disable trigger
# flags: instance
do_reset() {
reset_trigger

View File

@ -1,5 +1,6 @@
#!/bin/sh
# description: event trigger - test trigger filter
# flags: instance
do_reset() {
reset_trigger

View File

@ -1,5 +1,6 @@
#!/bin/sh
# description: event trigger - test histogram modifiers
# flags: instance
do_reset() {
reset_trigger

View File

@ -1,5 +1,6 @@
#!/bin/sh
# description: event trigger - test histogram trigger
# flags: instance
do_reset() {
reset_trigger

View File

@ -1,5 +1,6 @@
#!/bin/sh
# description: event trigger - test multiple histogram triggers
# flags: instance
do_reset() {
reset_trigger