summaryrefslogtreecommitdiff
path: root/drivers/phy/spacemit/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2026-05-22 13:09:04 -0400
committerSteven Rostedt <rostedt@goodmis.org>2026-05-28 22:40:52 -0400
commit8913e2a48b8d3c1ef9c99481e5725afca841762e (patch)
tree4f94c7bc36c7cbc24dc31e5360cde7e4a6a48da1 /drivers/phy/spacemit/git@git.tavy.me:linux.git
parent7cf02d0aa6bd4a36f784f6e5dabf225e10b31f3a (diff)
ring-buffer: Have dropped subbuffers be persistent across reboots
When the persistent ring buffer detects a corrupted subbuffer, it will zero its size and report dropped pages in the dmesg, then it continues normally. But if a reboot happens without clearing or restarting tracing on the persistent ring buffer, the next boot will show no pages are dropped. If the persistent ring buffer is still the same, then it should still report dropped pages so the user knows that the buffer has missing events. Add the RB_MISSED_EVENTS flag to the commit value of the subbuffer so that the next boot will still show that pages were dropped. Link: https://patch.msgid.link/20260522171051.860780286@kernel.org Reviewed-by: Masami Hiramatsu (Google) <mhiramat@kernel.org> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'drivers/phy/spacemit/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions