mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 16:33:17 +00:00
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 <[email protected]> Acked-by: Namhyung Kim <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
9 lines
187 B
Bash
9 lines
187 B
Bash
#!/bin/sh
|
|
# description: Basic test for tracers
|
|
# flags: instance
|
|
test -f available_tracers
|
|
for t in `cat available_tracers`; do
|
|
echo $t > current_tracer
|
|
done
|
|
echo nop > current_tracer
|