1 #!/bin/sh 2 # SPDX-License-Identifier: GPL-2.0 3 # description: Test wakeup RT tracer 4 # requires: wakeup_rt:tracer chrt:program 5 6 echo wakeup_rt > current_tracer 7 echo 1 > tracing_on 8 echo 0 > tracing_max_latency 9 10 : "Wakeup a realtime task" 11 chrt -f 5 sleep 1 12 13 echo 0 > tracing_on 14 grep "+ \[[[:digit:]]*\]" trace 15 grep "==> \[[[:digit:]]*\]" trace 16
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.