linux-trace-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] tracing: Keep instance main and snapshot buffers in sync
@ 2023-12-05 21:52 Steven Rostedt
  2023-12-05 21:52 ` [PATCH v2 1/3] tracing: Always update snapshot buffer size Steven Rostedt
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Steven Rostedt @ 2023-12-05 21:52 UTC (permalink / raw)
  To: linux-kernel, linux-trace-kernel
  Cc: Masami Hiramatsu, Mark Rutland, Mathieu Desnoyers, Andrew Morton


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-12-05 21:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-05 21:52 [PATCH v2 0/3] tracing: Keep instance main and snapshot buffers in sync Steven Rostedt
2023-12-05 21:52 ` [PATCH v2 1/3] tracing: Always update snapshot buffer size Steven Rostedt
2023-12-05 21:52 ` [PATCH v2 2/3] tracing: Stop current tracer when resizing buffer Steven Rostedt
2023-12-05 21:52 ` [PATCH v2 3/3] tracing: Disable snapshot buffer when stopping instance tracers Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).