linux-trace-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] tracing: Fix snapshot accounting
@ 2024-02-23  1:33 Steven Rostedt
  2024-02-23  1:33 ` [PATCH 1/2] tracing: Fix snapshot counter going between two tracers that use it Steven Rostedt
  2024-02-23  1:33 ` [PATCH 2/2] tracing: Decrement the snapshot if the snapshot trigger fails to register Steven Rostedt
  0 siblings, 2 replies; 3+ messages in thread
From: Steven Rostedt @ 2024-02-23  1:33 UTC (permalink / raw)
  To: linux-kernel, linux-trace-kernel
  Cc: Masami Hiramatsu, Mark Rutland, Mathieu Desnoyers, Andrew Morton,
	Vincent Donnefort


The ring buffer mapping test failed after running the ftrace tests.
This was due to some mismatched snapshot accounting that left the
snapshot counter enabled when it was not, which prevents the ring buffer
from being mapped.

Steven Rostedt (Google) (2):
      tracing: Fix snapshot counter going between two tracers that use it
      tracing: Decrement the snapshot if the snapshot trigger fails to register

----
 kernel/trace/trace.c                | 2 +-
 kernel/trace/trace_events_trigger.c | 5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)

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

end of thread, other threads:[~2024-02-23  1:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-23  1:33 [PATCH 0/2] tracing: Fix snapshot accounting Steven Rostedt
2024-02-23  1:33 ` [PATCH 1/2] tracing: Fix snapshot counter going between two tracers that use it Steven Rostedt
2024-02-23  1:33 ` [PATCH 2/2] tracing: Decrement the snapshot if the snapshot trigger fails to register 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).