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