trace_clock: fix preemption bug
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Tue, 10 Mar 2009 18:03:43 +0000 (19:03 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 10 Mar 2009 19:03:01 +0000 (20:03 +0100)
Using the function_graph tracer in recent kernels generates a spew of
preemption BUGs. Fix this by not requiring trace_clock_local() users
to disable preemption themselves.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found