public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH][GIT PULL] trace: stop tracer in oops_enter()
@ 2009-07-24 19:35 Steven Rostedt
  2009-08-04  8:09 ` Ingo Molnar
  0 siblings, 1 reply; 2+ messages in thread
From: Steven Rostedt @ 2009-07-24 19:35 UTC (permalink / raw)
  To: LKML; +Cc: Thomas Gleixner, Ingo Molnar, Frederic Weisbecker, Andrew Morton


Ingo or Thomas,

This is on top of the previous pull requests I made for 31.

Please pull the latest tip/tracing/urgent-2 tree, which can be found at:

  git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace.git
tip/tracing/urgent-2


Thomas Gleixner (1):
      trace: stop tracer in oops_enter()

----
 kernel/panic.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---------------------------
commit bdff78707f3ce47e891f3201c9666122a70556ce
Author: Thomas Gleixner <tglx@linutronix.de>
Date:   Fri Jul 24 15:30:45 2009 -0400

    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>

diff --git a/kernel/panic.c b/kernel/panic.c
index 984b3ec..512ab73 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();


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH][GIT PULL] trace: stop tracer in oops_enter()
  2009-07-24 19:35 [PATCH][GIT PULL] trace: stop tracer in oops_enter() Steven Rostedt
@ 2009-08-04  8:09 ` Ingo Molnar
  0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2009-08-04  8:09 UTC (permalink / raw)
  To: Steven Rostedt; +Cc: LKML, Thomas Gleixner, Frederic Weisbecker, Andrew Morton


* Steven Rostedt <rostedt@goodmis.org> wrote:

> Ingo or Thomas,
> 
> This is on top of the previous pull requests I made for 31.
> 
> Please pull the latest tip/tracing/urgent-2 tree, which can be found at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace.git
> tip/tracing/urgent-2
> 
> 
> Thomas Gleixner (1):
>       trace: stop tracer in oops_enter()
> 
> ----
>  kernel/panic.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)

Pulled, thanks Steve!

	Ingo

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-08-04  8:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-24 19:35 [PATCH][GIT PULL] trace: stop tracer in oops_enter() Steven Rostedt
2009-08-04  8:09 ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox