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

Message ID 20231205215208.195443981@goodmis.org
Headers
Series tracing: Keep instance main and snapshot buffers in sync |

Message

Steven Rostedt Dec. 5, 2023, 9:52 p.m. UTC
  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@gandalf.local.home/

- 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(-)