Re: [PATCH 2/3] Add tracing_off_event() calls to BUG() and WARN() paths

Frederic Weisbecker
2010-04-15T20:57:47Z

On Wed, Apr 14, 2010 at 12:20:15PM -0400, Chase Douglas wrote:
> This change adds tracing_off_event() calls, which stop debug tracing,
> when a BUG() or WARN() function is called. The stoppage depends on
> commandline paramenter tracing_off={bug,warn,none}. The default is
> "bug", so only the BUG() paths will stop tracing.
>
> Signed-off-by: Chase Douglas <chase.douglas@canonical.com>

ACK

But I can't find where we call oops_enter() from panic()
I see it called in x86 from oops_begin() that is called
in various places like die(), but couldn't find how it
ends up beeing called from panic().