aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ftrace_irq.h
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2008-11-10 23:07:30 -0500
committerIngo Molnar <mingo@elte.hu>2008-11-11 09:40:34 +0100
commitf536aafc5a2e6f0c8f1577a155e6f93db5e469f0 (patch)
tree3ed56e3969ef2f1cccc921f3c49a959012ba1bda /include/linux/ftrace_irq.h
parentftrace: prevent ftrace_special from recursion (diff)
downloadlinux-dev-f536aafc5a2e6f0c8f1577a155e6f93db5e469f0.tar.xz
linux-dev-f536aafc5a2e6f0c8f1577a155e6f93db5e469f0.zip
ring-buffer: replace most bug ons with warn on and disable buffer
This patch replaces most of the BUG_ONs in the ring_buffer code with RB_WARN_ON variants. It adds some more variants as needed for the replacement. This lets the buffer die nicely and still warn the user. One BUG_ON remains in the code, and that is because it detects a bad pointer passed in by the calling function, and not a bug by the ring buffer code itself. Signed-off-by: Steven Rostedt <srostedt@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/ftrace_irq.h')
0 files changed, 0 insertions, 0 deletions