]> git.baikalelectronics.ru Git - kernel.git/commit
tracing/function-graph-tracer: use the more lightweight local clock
authorFrederic Weisbecker <fweisbec@gmail.com>
Thu, 5 Mar 2009 00:49:22 +0000 (01:49 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 5 Mar 2009 11:14:41 +0000 (12:14 +0100)
commit086227edcf1491295b7ac59709c1b1c5b0713dc6
tree355277518dbdcc8385f374db1a5d5e15301940e0
parent58ccc36f3ec08d64a4ec0474c885b9e08fbc28f1
tracing/function-graph-tracer: use the more lightweight local clock

Impact: decrease hangs risks with the graph tracer on slow systems

Since the function graph tracer can spend too much time on timer
interrupts, it's better now to use the more lightweight local
clock. Anyway, the function graph traces are more reliable on a
per cpu trace.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <49af243d.06e9300a.53ad.ffff840c@mx.google.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/ftrace.c
include/linux/ftrace.h
kernel/trace/trace_functions_graph.c