diff options
| author | Masami Hiramatsu (Google) <mhiramat@kernel.org> | 2026-05-22 13:08:59 -0400 |
|---|---|---|
| committer | Steven Rostedt <rostedt@goodmis.org> | 2026-05-28 22:40:51 -0400 |
| commit | c8a7d4b4723a21e7464efe86dcf80627e0b4df33 (patch) | |
| tree | a49e591db8f86affe296ae5a338b310df1109fd1 /drivers/phy/eswin/git@git.tavy.me:linux.git | |
| parent | eb3bd277b37cd435d26a44a40d8f7c87ff16feb6 (diff) | |
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/20260522171051.091265852@kernel.org
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
[ SDR: Have reader_page still get evaluated if header_page fails ]
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'drivers/phy/eswin/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
