]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Keep NMI watchdog from triggering when dumping trace
authorSteven Rostedt <srostedt@redhat.com>
Fri, 2 Mar 2012 03:06:48 +0000 (22:06 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 2 Mar 2012 03:06:48 +0000 (22:06 -0500)
commitced18fbd8ad47bd3c5ec99e045ccbfdd39a837ed
treeed77ec8ab4db28fb900653cee4b719cf02a3a911
parent98b790309bf6ffab28e1c4800176e656a2a70bab
tracing: Keep NMI watchdog from triggering when dumping trace

As ftrace_dump() (called by ftrace_dump_on_oops) disables interrupts
as it dumps its output to the console, it can keep interrupts disabled
for long periods of time. This is likely to trigger the NMI watchdog,
and it can disrupt the output of critical data.

Add a touch_nmi_watchdog() to each event that is written to the screen
to keep the NMI watchdog from affecting the output.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.c