Sign in
kunit
/
linux
/
485734f3fc77c1eb77ffe138c027b9a4bf0178f3
/
.
/
tools
/
testing
/
selftests
/
ftrace
/
test.d
/
00basic
/
basic3.tc
blob: 58a2506f788e8ca3893e76cfe3b4f48284a2be43 [
file
] [
log
] [
blame
]
#!/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