tracing: Keep NMI watchdog from triggering when dumping trace
[deliverable/linux.git] / kernel / trace / trace.c
index f3c13d63d06480ba0675f1ce0f0898a7e7023e1e..3a19c354edd6b50fd21d2e1e1be5273f128781f7 100644 (file)
@@ -36,6 +36,7 @@
 #include <linux/ctype.h>
 #include <linux/init.h>
 #include <linux/poll.h>
+#include <linux/nmi.h>
 #include <linux/fs.h>
 
 #include "trace.h"
@@ -4903,6 +4904,7 @@ __ftrace_dump(bool disable_tracing, enum ftrace_dump_mode oops_dump_mode)
                        if (ret != TRACE_TYPE_NO_CONSUME)
                                trace_consume(&iter);
                }
+               touch_nmi_watchdog();
 
                trace_printk_seq(&iter.seq);
        }
This page took 0.026219 seconds and 5 git commands to generate.