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