diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-07-24 15:30:45 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-07-24 15:30:45 -0400 |
commit | bdff78707f3ce47e891f3201c9666122a70556ce (patch) | |
tree | 4991809b9c83889be8bb0652da802be290e40d78 /kernel/panic.c | |
parent | bd171d5ffc5cb2ba471e8205c679ee9d12b90116 (diff) | |
download | linux-bdff78707f3ce47e891f3201c9666122a70556ce.tar.gz linux-bdff78707f3ce47e891f3201c9666122a70556ce.tar.bz2 linux-bdff78707f3ce47e891f3201c9666122a70556ce.zip |
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: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/panic.c')
-rw-r--r-- | kernel/panic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/panic.c b/kernel/panic.c index 984b3ecbd72c..512ab73b0ca3 100644 --- a/kernel/panic.c +++ b/kernel/panic.c @@ -301,6 +301,7 @@ int oops_may_print(void) */ void oops_enter(void) { + tracing_off(); /* can't trust the integrity of the kernel anymore: */ debug_locks_off(); do_oops_enter_exit(); |