Re: [PATCH 08/13 v2] ftrace: do not trace init sections

From: Ingo Molnar
Date: Thu Oct 23 2008 - 12:41:37 EST



* Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> > I don't know if this feature is already considered for / part of
> > mainline, but oops backtraces based on mcount instrumentation used
> > to be quite helpful for me to understand the wider context of
> > several faults. The more you have to mask out of this picture, the
> > harder it gets to match the trace to your model of the kernel
> > activities. At least you have to know more in advance about the
> > limitation of the tracer...
>
> The ftrace buffer can be dumped out on oops. I'm not sure if it is
> always on. If it is, I need to make it default off and add a command
> line and sysctl to turn it on. Otherwise, we will have people
> complaining about the extra output to the console on oops.

it dumps currently if a tracer is enabled. I saw it a couple of times
already during crashes.

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/