ubuntu-linux-kernel/tools/testing/selftests/ftrace/test.d/00basic/basic3.tc

11 lines
250 B
Plaintext
Raw Permalink Normal View History

2024-04-01 15:06:58 +00:00
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
# 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