aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/ftrace/test.d/00basic/basic3.tc
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <rostedt@goodmis.org>2017-04-20 13:44:32 -0400
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2017-04-26 08:54:40 -0400
commit03c201759e9726ca6abaf8cabac936fd62c2543f (patch)
tree375baab9a1e1a9a02e304e263e41c58db86f7a88 /tools/testing/selftests/ftrace/test.d/00basic/basic3.tc
parentselftests: ftrace: Have event tests also run in an tracing instance (diff)
downloadlinux-dev-03c201759e9726ca6abaf8cabac936fd62c2543f.tar.xz
linux-dev-03c201759e9726ca6abaf8cabac936fd62c2543f.zip
selftests: ftrace: Have some basic tests run in a tracing instance too
Some of the basic ftrace selftests should also be run in an instance. These test a quick case of running all tracers in the available_tracers file within the instance. The other is testing the clock used for the instance. Acked-by: Masami Hiramatsu <mhiramat@kernel.org> Acked-by: Namhyung Kim <namhyung@kernel.org> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to '')
-rw-r--r--tools/testing/selftests/ftrace/test.d/00basic/basic3.tc1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/ftrace/test.d/00basic/basic3.tc b/tools/testing/selftests/ftrace/test.d/00basic/basic3.tc
index bde6625d9785..9e33f841812f 100644
--- a/tools/testing/selftests/ftrace/test.d/00basic/basic3.tc
+++ b/tools/testing/selftests/ftrace/test.d/00basic/basic3.tc
@@ -1,5 +1,6 @@
#!/bin/sh
# description: Basic trace clock test
+# flags: instance
test -f trace_clock
for c in `cat trace_clock | tr -d \[\]`; do
echo $c > trace_clock