Steven Rostedt 8d707e8eb4 ring-buffer: do not grab locks in nmi
If ftrace_dump_on_oops is set, and an NMI detects a lockup, then it
will need to read from the ring buffer. But the read side of the
ring buffer still takes locks. This patch adds a check on the read
side that if it is in an NMI, then it will disable the ring buffer
and not take any locks.

Reads can still happen on a disabled ring buffer.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
2009-06-17 14:16:27 -04:00
..
2009-06-11 21:36:11 -04:00
2008-10-16 11:21:30 -07:00
2009-05-20 10:34:32 +02:00
2009-05-15 07:56:24 -05:00
2009-01-14 18:09:02 +01:00
2009-03-30 22:05:16 +10:30
2009-06-12 22:27:01 +09:30
2009-06-11 23:31:52 +02:00
2009-03-24 10:52:46 +11:00
2009-04-14 17:17:16 +02:00