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

From: Andrew Morton
Date: Tue Apr 20 2004 - 20:43:48 EST

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.

See how the the current version of show_trace() does this.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at