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)
commitb892e5c89787716b95a8e55d77d25a1c0748df10
treeed77ec8ab4db28fb900653cee4b719cf02a3a911
parent8c9cf542b8a66c231747a550573d910daf17f0e9
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
This page took 0.083146 seconds and 5 git commands to generate.