drm/panel-edp: Add STA 116QHD024002
[drm/drm-misc.git] / tools / testing / selftests / ftrace / test.d / tracer / wakeup.tc
blobe8f0fac9a110cc828d035facda857e61f144f944
1 #!/bin/sh
2 # SPDX-License-Identifier: GPL-2.0
3 # description: Test wakeup tracer
4 # requires: wakeup:tracer chrt:program
6 echo wakeup > current_tracer
7 echo 1 > tracing_on
8 echo 0 > tracing_max_latency
10 : "Wakeup higher priority task"
11 chrt -f 5 sleep 1
13 echo 0 > tracing_on
14 grep '+ \[[[:digit:]]*\]' trace
15 grep '==> \[[[:digit:]]*\]' trace