Messages in this thread | | | Date | Sat, 1 Nov 2008 15:13:32 -0400 (EDT) | From | Steven Rostedt <> | Subject | Re: [PATCH] ftrace: ftrace_dump_on_oops=[tracer] |
| |
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@chello.nl>
Acked-by: Steven Rostedt <srostedt@redhat.com>
-- Steve
| |