android_kernel_msm-6.1_noth.../kernel/trace
Steven Rostedt 818e3dd30a tracing, ring-buffer: add paranoid checks for loops
While writing a new tracer, I had a bug where I caused the ring-buffer
to recurse in a bad way. The bug was with the tracer I was writing
and not the ring-buffer itself. But it took a long time to find the
problem.

This patch adds paranoid checks into the ring-buffer infrastructure
that will catch bugs of this nature.

Note: I put the bug back in the tracer and this patch showed the error
      nicely and prevented the lockup.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-11-03 11:10:04 +01:00
..
ftrace.c
Kconfig
Makefile
ring_buffer.c tracing, ring-buffer: add paranoid checks for loops 2008-11-03 11:10:04 +01:00
trace.c
trace.h
trace_boot.c
trace_functions.c
trace_irqsoff.c
trace_mmiotrace.c
trace_nop.c
trace_sched_switch.c
trace_sched_wakeup.c
trace_selftest.c
trace_selftest_dynamic.c
trace_stack.c
trace_sysprof.c