-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Steven Rostedt (VMware)
committed
Apr 26, 2017
1 parent
03c2017
commit ca2958f
Showing
5 changed files
with
5 additions
and
0 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
tools/testing/selftests/ftrace/test.d/trigger/trigger-eventonoff.tc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
tools/testing/selftests/ftrace/test.d/trigger/trigger-filter.tc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#!/bin/sh | ||
# description: event trigger - test trigger filter | ||
# flags: instance | ||
|
||
do_reset() { | ||
reset_trigger | ||
|
1 change: 1 addition & 0 deletions
1
tools/testing/selftests/ftrace/test.d/trigger/trigger-hist-mod.tc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#!/bin/sh | ||
# description: event trigger - test histogram modifiers | ||
# flags: instance | ||
|
||
do_reset() { | ||
reset_trigger | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#!/bin/sh | ||
# description: event trigger - test histogram trigger | ||
# flags: instance | ||
|
||
do_reset() { | ||
reset_trigger | ||
|
1 change: 1 addition & 0 deletions
1
tools/testing/selftests/ftrace/test.d/trigger/trigger-multihist.tc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters