diff options
author | Steven Rostedt (Google) <[email protected]> | 2023-12-19 13:54:24 -0500 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2023-12-21 11:00:56 -0500 |
commit | fa4b54af5ba17a59ce082e9d710eb638bdce7637 (patch) | |
tree | e578461b79272e45c1f6566836f81bb0fb83369c /scripts/gdb/linux/utils.py | |
parent | aa067682adf19ca78f81cd57539282dbfd7cce21 (diff) |
tracing: Stop the tracing while changing the ring buffer subbuf size
Because the main buffer and the snapshot buffer need to be the same for
some tracers, otherwise it will fail and disable all tracing, the tracers
need to be stopped while updating the sub buffer sizes so that the tracers
see the main and snapshot buffers with the same sub buffer size.
Link: https://lore.kernel.org/linux-trace-kernel/[email protected]
Cc: Masami Hiramatsu <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Tzvetomir Stoyanov <[email protected]>
Cc: Vincent Donnefort <[email protected]>
Cc: Kent Overstreet <[email protected]>
Fixes: 2808e31ec12e ("ring-buffer: Add interface for configuring trace sub buffer size")
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions