linux/kernel/trace
Steven Rostedt 2bb6f8d638 ftrace: use raw_smp_processor_id for mcount functions
Due to debug hooks in the kernel that can change the way smp_processor_id
works, use raw_smp_processor_id in mcount called functions (namely
ftrace_record_ip). Currently we annotate most debug functions from calling
mcount, but we should not rely on that to prevent kernel lockups.

This patch uses the raw_smp_processor_id to prevent a recusive crash
that can happen if a debug hook in smp_processor_id calls mcount.

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 22:01:34 +02:00
..
ftrace.c ftrace: use raw_smp_processor_id for mcount functions 2008-05-23 22:01:34 +02:00
Kconfig ftrace: restrict tracing to HAVE_FTRACE architectures 2008-05-23 21:15:29 +02:00
Makefile
trace_functions.c ftrace: fix comm on function trace output 2008-05-23 21:52:12 +02:00
trace_irqsoff.c ftrace: irqsoff use raw_smp_processor_id 2008-05-23 21:13:41 +02:00
trace_sched_switch.c ftrace: fix comm on function trace output 2008-05-23 21:52:12 +02:00
trace_sched_wakeup.c
trace_selftest_dynamic.c
trace_selftest.c ftrace: user proper API for setting RT prios in selftest 2008-05-23 21:49:42 +02:00
trace.c ftrace: special stacktrace 2008-05-23 22:01:13 +02:00
trace.h ftrace: add trace pipe header pluggin 2008-05-23 21:56:29 +02:00