mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-28 01:21:58 +00:00
ftrace: fix up cmdline recording
The new work with converting the trace hooks over to markers broke the command line recording of ftrace. This patch fixes it again. Signed-off-by: Steven Rostedt <srostedt@redhat.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
41c52c0db9
commit
41bc8144d0
4 changed files with 19 additions and 13 deletions
|
@ -29,14 +29,14 @@ static void function_reset(struct trace_array *tr)
|
|||
static void start_function_trace(struct trace_array *tr)
|
||||
{
|
||||
function_reset(tr);
|
||||
atomic_inc(&trace_record_cmdline_enabled);
|
||||
tracing_start_cmdline_record();
|
||||
tracing_start_function_trace();
|
||||
}
|
||||
|
||||
static void stop_function_trace(struct trace_array *tr)
|
||||
{
|
||||
tracing_stop_function_trace();
|
||||
atomic_dec(&trace_record_cmdline_enabled);
|
||||
tracing_stop_cmdline_record();
|
||||
}
|
||||
|
||||
static void function_trace_init(struct trace_array *tr)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue