Commit bdff7870 authored by Thomas Gleixner's avatar Thomas Gleixner Committed by Steven Rostedt

trace: stop tracer in oops_enter()

If trace_printk_on_oops is set we lose interesting trace information
when the tracer is enabled across oops handling and printing. We want
the trace which might give us information _WHY_ we oopsed.
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
parent bd171d5f
...@@ -301,6 +301,7 @@ int oops_may_print(void) ...@@ -301,6 +301,7 @@ int oops_may_print(void)
*/ */
void oops_enter(void) void oops_enter(void)
{ {
tracing_off();
/* can't trust the integrity of the kernel anymore: */ /* can't trust the integrity of the kernel anymore: */
debug_locks_off(); debug_locks_off();
do_oops_enter_exit(); do_oops_enter_exit();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment