On Thu, 13 Aug 2026 13:56:13 +0000
sashiko-bot@kernel.org wrote:
This returns -1, which tracing_buffers_read() treats as EOF. Subsequent
reads see info->spare_size == page_size, reuse the bad page, and
permanently return EOF.
If you are resizing the ring buffer at the same time as reading
trace_pipe_raw, yeah you may get garbage or an early EOF.
It's stupid to do.
-- Steve