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