[PATCH v2 0/3] tracing: Keep instance main and snapshot buffers in sync

From: Steven Rostedt
Date: Tue Dec 05 2023 - 16:59:54 EST



Fix keeping instance buffers in sync. That is, when the main ring buffer
size is updated, the size of the instance snapshot buffer also needs
to be updated if it is allocated.

Changes since v1: https://lore.kernel.org/all/20231205115223.5256e1a1@xxxxxxxxxxxxxxxxxx/

- That was just patch 3 with the change log of patch 1.
That patch just needs to be ignored.

Steven Rostedt (Google) (3):
tracing: Always update snapshot buffer size
tracing: Stop current tracer when resizing buffer
tracing: Disable snapshot buffer when stopping instance tracers

----
kernel/trace/trace.c | 123 ++++++++++++++++++---------------------------------
1 file changed, 42 insertions(+), 81 deletions(-)