Re: [PATCH] ftrace: ftrace_dump_on_oops=[tracer]

From: Ingo Molnar
Date: Mon Nov 03 2008 - 03:14:38 EST



* Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

>
> On Sat, 1 Nov 2008, Peter Zijlstra wrote:
>
> > On Sat, 2008-11-01 at 14:43 -0400, Steven Rostedt wrote:
> > > On Sat, 1 Nov 2008, Peter Zijlstra wrote:
> > >
> > > > seems useful to debug crashes that happen before I read userspace.
> > >
> > > Hmm, I think it might be better to separate this from the dump_on_oops.
> > > How about a ftrace_default_tracer parameter?
> > >
> > > If one is defined, it is activated as soon as it is initialized. This way
> > > we decouple the dump_on_oops, which we may not always want, and a way to
> > > start tracers before the switch to user space.
> >
> > Like so?
>
> Sure.
>
> >
> > ---
> > Subject: ftrace: enable setting an ftrace tracer on boot
> >
> > In order to facilitate early boot trouble, allow one to specify a tracer
> > on the kernel boot line.
> >
> > Signed-off-by: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
>
> Acked-by: Steven Rostedt <srostedt@xxxxxxxxxx>

applied to tip/tracing/ftrace, thanks guys!

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/