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:

committed by
Thomas Gleixner

parent
41c52c0db9
commit
41bc8144d0
@@ -652,9 +652,6 @@ static char saved_cmdlines[SAVED_CMDLINES][TASK_COMM_LEN];
|
||||
static int cmdline_idx;
|
||||
static DEFINE_SPINLOCK(trace_cmdline_lock);
|
||||
|
||||
/* trace in all context switches */
|
||||
atomic_t trace_record_cmdline_enabled __read_mostly;
|
||||
|
||||
/* temporary disable recording */
|
||||
atomic_t trace_record_cmdline_disabled __read_mostly;
|
||||
|
||||
|
Reference in New Issue
Block a user