static void persistent_trace_reset(struct trace_array *tr) { persistent_trace_enabled = 0; smp_wmb(); unregister_ftrace_function(&trace_ops); tracing_stop_cmdline_record(); }
static void function_trace_reset(struct trace_array *tr) { tracing_stop_function_trace(); tracing_stop_cmdline_record(); }
static void stack_trace_reset(struct trace_array *tr) { tracing_stop_cmdline_record(); stop_stack_trace(tr); }
static void stop_sched_trace(struct trace_array *tr) { tracer_enabled = 0; tracing_stop_cmdline_record(); }