diff options
Diffstat (limited to 'tools/testing/selftests/ftrace/test.d/00basic/basic2.tc')
-rw-r--r-- | tools/testing/selftests/ftrace/test.d/00basic/basic2.tc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/testing/selftests/ftrace/test.d/00basic/basic2.tc b/tools/testing/selftests/ftrace/test.d/00basic/basic2.tc new file mode 100644 index 000000000000..b04f30df0db3 --- /dev/null +++ b/tools/testing/selftests/ftrace/test.d/00basic/basic2.tc @@ -0,0 +1,6 @@ +#!/bin/sh +# description: Basic test for tracers +for t in `cat available_tracers`; do + echo $t > current_tracer || exit 1 +done +echo nop > current_tracer |