lkml.org 
[lkml]   [2008]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2008-11-01 20:15    [W:0.043 / U:0.628 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site