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
..
2008-10-22 07:37:17 +02:00
2008-10-26 09:38:17 -07:00
2008-10-16 11:21:30 -07:00
2008-09-14 16:25:35 +02:00
2008-10-28 11:19:07 +01:00
2008-09-02 19:21:40 -07:00
2008-10-20 08:52:39 -07:00
2008-10-21 15:59:53 +02:00
2008-10-24 12:51:03 +02:00
2008-10-16 11:21:31 -07:00
2008-10-16 11:21:51 -07:00
2008-10-16 11:21:47 -07:00
2008-10-16 11:21:31 -07:00