Files
linux/kernel
Masami Hiramatsu (Google) c8a7d4b472 ring-buffer: Skip invalid sub-buffers when rewinding persistent ring buffer
Skip invalid sub-buffers when rewinding the persistent ring buffer
instead of stopping the rewinding the ring buffer. The skipped
buffers are cleared.

To ensure the rewinding stops at the unused page, this also clears
buffer_data_page::time_stamp when tracing resets the buffer. This
allows us to identify unused pages and empty pages.

Link: https://patch.msgid.link/[email protected]
Signed-off-by: Masami Hiramatsu (Google) <[email protected]>
[ SDR: Have reader_page still get evaluated if header_page fails ]
Signed-off-by: Steven Rostedt <[email protected]>
2026-05-28 22:40:51 -04:00
..
2026-03-06 14:31:26 +01:00
2026-03-06 14:31:26 +01:00
2026-03-05 22:16:08 -05:00
…
…
…
…
…
…
…
2026-01-05 16:43:34 +01:00
…
…
…
2026-03-27 10:19:08 -05:00
…
2025-10-29 10:29:54 +01:00
2026-01-26 19:07:13 -08:00
…
…
…