Message ID | 20240809212152.6486337d@rorschach.local.home (mailing list archive) |
---|---|
State | Accepted |
Commit | d1fac9ecd3b581e08c86fc625e577fcb586f24f7 |
Headers | show |
Series | trace-cmd record: Always disable func_stack_trace in tracecmd_disable_all_tracing() | expand |
diff --git a/tracecmd/trace-record.c b/tracecmd/trace-record.c index 3c705270f1c5..6b88646a2b7f 100644 --- a/tracecmd/trace-record.c +++ b/tracecmd/trace-record.c @@ -2742,10 +2742,10 @@ void tracecmd_disable_all_tracing(int disable_tracer) tracecmd_disable_tracing(); - if (disable_tracer) { - disable_func_stack_trace(); + disable_func_stack_trace(); + + if (disable_tracer) set_plugin("nop"); - } reset_events();