original_kernel/tools/testing/selftests/ftrace/test.d/00basic/basic3.tc

10 lines
215 B
Bash

#!/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
grep '\['$c'\]' trace_clock
done
echo local > trace_clock