staging: rtl8192u: remove redundant assignment to pointer crypt
[linux/fpc-iii.git] / tools / testing / selftests / ftrace / test.d / tracer / wakeup.tc
blobb0893d7edda3a4a26d0f9d6da4105e7b77793704
1 #!/bin/sh
2 # SPDX-License-Identifier: GPL-2.0
3 # description: Test wakeup tracer
5 if ! which chrt ; then
6 echo "chrt is not found. This test requires nice command."
7 exit_unresolved
8 fi
10 if ! grep -wq "wakeup" available_tracers ; then
11 echo "wakeup tracer is not supported"
12 exit_unsupported
15 echo wakeup > current_tracer
16 echo 1 > tracing_on
17 echo 0 > tracing_max_latency
19 : "Wakeup higher priority task"
20 chrt -f 5 sleep 1
22 echo 0 > tracing_on
23 grep '+ \[[[:digit:]]*\]' trace
24 grep '==> \[[[:digit:]]*\]' trace