1#!/bin/sh 2# SPDX-License-Identifier: GPL-2.0 3# description: trace_pipe and trace_marker 4# requires: trace_marker 5# flags: instance 6 7echo "test input 1" > trace_marker 8 9: "trace interface never consume the ring buffer" 10grep -q "test input 1" trace 11grep -q "test input 1" trace 12 13: "trace interface never consume the ring buffer" 14head -n 1 trace_pipe | grep -q "test input 1" 15! grep -q "test input 1" trace 16