1c575dea2SMasami Hiramatsu#!/bin/sh 21d956785SThomas Gleixner# SPDX-License-Identifier: GPL-2.0 3c575dea2SMasami Hiramatsu# description: Test wakeup RT tracer 4*94fea664SNaveen N. Rao# requires: wakeup_rt:tracer chrt:program 5c575dea2SMasami Hiramatsu 6c575dea2SMasami Hiramatsuecho wakeup_rt > current_tracer 7c575dea2SMasami Hiramatsuecho 1 > tracing_on 8c575dea2SMasami Hiramatsuecho 0 > tracing_max_latency 9c575dea2SMasami Hiramatsu 10c575dea2SMasami Hiramatsu: "Wakeup a realtime task" 11c575dea2SMasami Hiramatsuchrt -f 5 sleep 1 12c575dea2SMasami Hiramatsu 13c575dea2SMasami Hiramatsuecho 0 > tracing_on 14c575dea2SMasami Hiramatsugrep "+ \[[[:digit:]]*\]" trace 15c575dea2SMasami Hiramatsugrep "==> \[[[:digit:]]*\]" trace 16c575dea2SMasami Hiramatsu 17