diff options
author | 2009-07-24 15:30:45 -0400 | |
---|---|---|
committer | 2009-07-24 15:30:45 -0400 | |
commit | bdff78707f3ce47e891f3201c9666122a70556ce (patch) | |
tree | 4991809b9c83889be8bb0652da802be290e40d78 /kernel/panic.c | |
parent | ftrace: Only update $offset when we update $ref_func (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(); |