aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.c
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2008-05-12 15:20:54 -0400
committerThomas Gleixner <tglx@linutronix.de>2008-05-23 15:12:48 -0400
commit8f96da02c14d722ad9a3713cd7273ce28c9036ad (patch)
treeec90d905b59b191c2bc8b4e9e9d579c3f2589293 /kernel/trace/trace.c
parent694379e9ed4f2f6babe111bf001c69e2e263338b (diff)
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>
Diffstat (limited to 'kernel/trace/trace.c')
-rw-r--r--kernel/trace/trace.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index b63fe909f87b..736dcfb3ed01 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -659,8 +659,6 @@ trace_function(struct trace_array *tr, struct trace_array_cpu *data,
659 entry->fn.ip = ip; 659 entry->fn.ip = ip;
660 entry->fn.parent_ip = parent_ip; 660 entry->fn.parent_ip = parent_ip;
661 spin_unlock_irqrestore(&data->lock, irq_flags); 661 spin_unlock_irqrestore(&data->lock, irq_flags);
662
663 trace_wake_up();
664} 662}
665 663
666void 664void