diff options
| author | Steven Rostedt <[email protected]> | 2008-10-31 13:58:35 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2008-11-03 10:10:04 +0000 |
| commit | 818e3dd30a4ff34fff6d90e87ae59c73f6a53691 (patch) | |
| tree | ab9db9dec53a0c0383476c8dfca17d75c83317f6 /net/unix/af_unix.c | |
| parent | ftrace: use kretprobe trampoline name to test in output (diff) | |
| download | kernel-818e3dd30a4ff34fff6d90e87ae59c73f6a53691.tar.gz kernel-818e3dd30a4ff34fff6d90e87ae59c73f6a53691.zip | |
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 <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
