Re: stack dumps, CONFIG_FRAME_POINTER and i386 (was Re: sysrq showsimpossible call stack)

From: Andrew Morton
Date: Tue Apr 20 2004 - 20:45:21 EST


Andrew Morton <akpm@xxxxxxxx> wrote:
>
> Roland Dreier <roland@xxxxxxxxxxx> wrote:
> >
> > Adam> This problem was annoying me a few months ago so I coded up
> > Adam> a stack trace patch that actually uses the frame pointer.
> > Adam> It is currently maintained in -mjb but I have pasted below.
> > Adam> Hope this helps.
> >
> > Thanks, that looks really useful. What is the chance of this moving
> > from -mjb to mainline?
>
> Good, but it needs to be updated to do the right thing with 4k stacks when
> called from interrupt context.

Also, I'd like to be convinced that it does the right thing across assembly
code which doesn't set up a correct frame pointer, such as down().

I assume it will simply skip that frame altogether?
-
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/