Re: [2/2] vmallocinfo: Add caller information

From: Ingo Molnar
Date: Tue Apr 29 2008 - 15:31:50 EST



* Christoph Lameter <clameter@xxxxxxx> wrote:

> On Mon, 28 Apr 2008, Arjan van de Ven wrote:
>
> > > Hmmm... Why do we have CONFIG_FRAMEPOINTER then?
> >
> > to make the backtraces more accurate.
>
> Well so we display out of whack backtraces? There are also issues on
> platforms that do not have a stack in the classic sense (rotating
> register file on IA64 and Sparc64 f.e.). Determining a backtrace can
> be very expensive.

they have to solve that for kernel oopses and for lockdep somehow
anyway. Other users of stacktrace are: fault injection, kmemcheck,
latencytop, ftrace. All new debugging and instrumentation code uses it,
and for a good reason.

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/