summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.c
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2008-05-12 21:20:54 +0200
committerThomas Gleixner <tglx@linutronix.de>2008-05-23 21:12:48 +0200
commit8f96da02c14d722ad9a3713cd7273ce28c9036ad (patch)
treeec90d905b59b191c2bc8b4e9e9d579c3f2589293 /kernel/trace/trace.c
parent694379e9ed4f2f6babe111bf001c69e2e263338b (diff)
downloadop-kernel-dev-8f96da02c14d722ad9a3713cd7273ce28c9036ad.zip
op-kernel-dev-8f96da02c14d722ad9a3713cd7273ce28c9036ad.tar.gz
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 b63fe90..736dcfb 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,
entry->fn.ip = ip;
entry->fn.parent_ip = parent_ip;
spin_unlock_irqrestore(&data->lock, irq_flags);
-
- trace_wake_up();
}
void
OpenPOWER on IntegriCloud