
Add ftrace basic testcases. This just checks ftrace debugfs interface works as it is designed. Link: http://lkml.kernel.org/p/20140922234252.23415.62897.stgit@kbuild-f20.novalocal Acked-by: Namhyung Kim <namhyung@kernel.org> Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
6 lines
153 B
Bash
6 lines
153 B
Bash
#!/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
|