]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ftrace: remove wakeup from function trace
authorSteven Rostedt <rostedt@goodmis.org>
Mon, 12 May 2008 19:20:54 +0000 (21:20 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 23 May 2008 19:12:48 +0000 (21:12 +0200)
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>
kernel/trace/trace.c

index b63fe909f87b488bf170ffdcc6fb0af69c6f0dea..736dcfb3ed01316b461820f02a0ec7ba06e1ee5e 100644 (file)
@@ -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