mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
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>
This commit is contained in:
parent
bd171d5ffc
commit
bdff78707f
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue