ftrace: remove wakeup from function trace
trace_function is called by mcount and calling wake_up from that can have unpredictable results. This patch removes the wakeup from trace_function. Signed-off-by: Steven Rostedt <srostedt@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
694379e9ed
commit
8f96da02c1
|
@ -659,8 +659,6 @@ trace_function(struct trace_array *tr, struct trace_array_cpu *data,
|
|||
entry->fn.ip = ip;
|
||||
entry->fn.parent_ip = parent_ip;
|
||||
spin_unlock_irqrestore(&data->lock, irq_flags);
|
||||
|
||||
trace_wake_up();
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue