Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 03c20175 authored by Steven Rostedt (VMware)'s avatar Steven Rostedt (VMware)
Browse files

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: default avatarMasami Hiramatsu <mhiramat@kernel.org>
Acked-by: default avatarNamhyung Kim <namhyung@kernel.org>
Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
parent 35df6a89
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
#!/bin/sh
# description: Basic test for tracers
# flags: instance
test -f available_tracers
for t in `cat available_tracers`; do
  echo $t > current_tracer
+1 −0
Original line number Diff line number Diff line
#!/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