diff options
author | Steven Rostedt (Google) <[email protected]> | 2023-12-05 16:52:11 -0500 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2023-12-05 17:06:12 -0500 |
commit | b538bf7d0ec11ca49f536dfda742a5f6db90a798 (patch) | |
tree | cd227a8e732506b530add0c52b9a39923339a06d /scripts/generate_rust_analyzer.py | |
parent | d78ab792705c7be1b91243b2544d1a79406a2ad7 (diff) |
tracing: Disable snapshot buffer when stopping instance tracers
It use to be that only the top level instance had a snapshot buffer (for
latency tracers like wakeup and irqsoff). When stopping a tracer in an
instance would not disable the snapshot buffer. This could have some
unintended consequences if the irqsoff tracer is enabled.
Consolidate the tracing_start/stop() with tracing_start/stop_tr() so that
all instances behave the same. The tracing_start/stop() functions will
just call their respective tracing_start/stop_tr() with the global_array
passed in.
Link: https://lkml.kernel.org/r/[email protected]
Cc: [email protected]
Cc: Masami Hiramatsu <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Cc: Andrew Morton <[email protected]>
Fixes: 6d9b3fa5e7f6 ("tracing: Move tracing_max_latency into trace_array")
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions