Thread (12 messages) flat view 12 messages, 3 authors, 4d ago

Re: [PATCH v10 0/4] ring-buffer: Fixes for subbuf resizing and persistent buffers

From: Steven Rostedt <rostedt@goodmis.org>
Date: 2026-09-04 18:10:08
Also in: lkml

On Fri,  4 Sep 2026 17:44:46 +0100
Vincent Donnefort [off-list ref] wrote:
I have managed to reproduce a ring_buffer_read_page() race with

 $ trace-cmd record -e sched &
FYI, running "trace-cmd record" as a background process is "awkward".
Instead I would use the --daemonize option:

  ~# trace-cmd record -e sched --daemonize 
  Send SIGINT/SIGTERM to pid 4633 to stop recording

-- Steve
 $ while true; do for i in 8 16 32; do echo $i > /sys/kernel/tracing/buffer_subbuf_size_kb; sleep 0.1; done; done
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help