1
0
Fork 0

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>
hifive-unleashed-5.1
Steven Rostedt (VMware) 2017-04-20 13:44:32 -04:00
parent 35df6a894e
commit 03c201759e
2 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,6 @@
#!/bin/sh
# description: Basic test for tracers
# flags: instance
test -f available_tracers
for t in `cat available_tracers`; do
echo $t > current_tracer

View File

@ -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