summaryrefslogtreecommitdiff
path: root/tools/perf
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2026-04-25 01:17:23 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2026-04-25 01:17:23 +0300
commit27d128c1cff64c3b8012cc56dd5a1391bb4f1821 (patch)
tree4a4c32f9935f662e6141e663dde256152ea984ff /tools/perf
parentf3e3dbcea15e20f7413afd8c791a496f0b80e80b (diff)
parent92d5a606721f759ebebf448b3bd2b7a781d50bd0 (diff)
downloadlinux-master.tar.xz
Merge tag 'trace-ring-buffer-v7.1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-traceHEADmaster
Pull ring-buffer fix from Steven Rostedt: - Fix accounting of persistent ring buffer rewind On boot up, the head page is moved back to the earliest point of the saved ring buffer. This is because the ring buffer being read by user space on a crash may not save the part it read. Rewinding the head page back to the earliest saved position helps keep those events from being lost. The number of events is also read during boot up and displayed in the stats file in the tracefs directory. It's also used for other accounting as well. On boot up, the "reader page" is accounted for but a rewind may put it back into the buffer and then the reader page may be accounted for again. Save off the original reader page and skip accounting it when scanning the pages in the ring buffer. * tag 'trace-ring-buffer-v7.1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace: ring-buffer: Do not double count the reader_page
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions