File Index
Files and directories
Sign in
FILE

trace_pipe.tc

File preview with syntax highlighting.

linux-6.19.14/tools/testing/selftests/ftrace/test.d/00basic/trace_pipe.tc PLAIN TEXT
 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
~/ Read-only file preview.