CONFIG_FRAME_POINTER on ppc/ppc64?
Milton Miller
miltonm at bga.com
Sun Aug 28 14:55:08 EST 2005
Paulus wrote:
> The reason for having the kernel config option is that it is
> impossible to get reliable stack traces on x86 without frame pointers.
> On PPC, because the stack frames are always linked together, even if
> you don't use a frame pointer, the frame pointer doesn't help in
> getting stack traces. Thus there is no point in having the kernel
> config option.
In addition, it forces stack frames on leaf functions, which results
in more code for no gain.
milton
More information about the Linuxppc64-dev
mailing list