linux/kernel/trace
Steven Rostedt 30afdcb1de ftrace: selftest protect againt max flip
There is a slight race condition in the selftest where the max update
of the wakeup and irqs/preemption off tests can be doing a max update as
the buffers are being tested. If this happens the system can crash with
a GPF.

This patch adds the max update spinlock around the checking of the
buffers to prevent such a race.

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 21:15:59 +02:00
..
ftrace.c ftrace: add UNINTERRUPTIBLE state for kftraced on disable 2008-05-23 21:15:42 +02:00
Kconfig ftrace: restrict tracing to HAVE_FTRACE architectures 2008-05-23 21:15:29 +02:00
Makefile ftrace: fix dynamic ftrace selftest 2008-05-23 21:13:23 +02:00
trace_functions.c ftrace: remove notrace 2008-05-23 20:58:28 +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: remove add-hoc code 2008-05-23 21:13:32 +02:00
trace_sched_wakeup.c ftrace: printk and trace irqsoff and wakeups 2008-05-23 21:13:02 +02:00
trace_selftest_dynamic.c ftrace: fix dynamic ftrace selftest 2008-05-23 21:13:23 +02:00
trace_selftest.c ftrace: selftest protect againt max flip 2008-05-23 21:15:59 +02:00
trace.c ftrace: fix mutex unlock in trace output 2008-05-23 21:15:52 +02:00
trace.h ftrace: user raw_spin_lock in tracing 2008-05-23 21:14:11 +02:00