File Index
Files and directories
Sign in
FILE

wakeup_rt.tc

File preview with syntax highlighting.

linux-6.19.14/tools/testing/selftests/ftrace/test.d/tracer/wakeup_rt.tc PLAIN TEXT
 1#!/bin/sh
 2# SPDX-License-Identifier: GPL-2.0
 3# description: Test wakeup RT tracer
 4# requires: wakeup_rt:tracer chrt:program
 5
 6echo wakeup_rt > current_tracer
 7echo 1 > tracing_on
 8echo 0 > tracing_max_latency
 9
10: "Wakeup a realtime task"
11chrt -f 5 sleep 1
12
13echo 0 > tracing_on
14grep "+ \[[[:digit:]]*\]" trace
15grep "==> \[[[:digit:]]*\]" trace
16
~/ Read-only file preview.