linux/kernel/trace
Steven Rostedt 6fb44b717c ftrace: add trace_function api for other tracers to use
A new check was added in the ftrace function that wont trace if the CPU
trace buffer is disabled.  Unfortunately, other tracers used ftrace() to
write to the buffer after they disabled it. The new disable check makes
these calls into a nop.

This patch changes the __ftrace that is called without the check into a
new api for the other tracers to use, called "trace_function". The other
tracers use this interface instead when the trace CPU buffer is already
disabled.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-05-23 20:55:55 +02:00
..
ftrace.c ftrace: disable tracing on failure 2008-05-23 20:54:16 +02:00
Kconfig ftrace: add self-tests 2008-05-23 20:40:36 +02:00
Makefile ftrace: trace preempt off critical timings 2008-05-23 20:32:54 +02:00
trace_functions.c ftrace: build fix 2008-05-23 20:54:47 +02:00
trace_irqsoff.c ftrace: add trace_function api for other tracers to use 2008-05-23 20:55:55 +02:00
trace_sched_switch.c ftrace: timestamp syncing, prepare 2008-05-23 20:42:31 +02:00
trace_sched_wakeup.c ftrace: add trace_function api for other tracers to use 2008-05-23 20:55:55 +02:00
trace_selftest.c ftrace: disable tracing on failure 2008-05-23 20:54:16 +02:00
trace.c ftrace: add trace_function api for other tracers to use 2008-05-23 20:55:55 +02:00
trace.h ftrace: add trace_function api for other tracers to use 2008-05-23 20:55:55 +02:00