[PATCH v2] ftrace: On PowerPC we don't need frame pointers for CALLER_ADDRs
Ingo Molnar
mingo at elte.hu
Wed Feb 4 03:06:45 EST 2009
* Anton Vorontsov <avorontsov at ru.mvista.com> wrote:
> According to this discussion:
>
> http://lkml.org/lkml/2008/7/25/338
> http://lkml.org/lkml/2008/7/26/72
>
> Frame pointers do nothing useful on PowerPC, so lib/Kconfig.debug
> makes CONFIG_FRAME_POINTER unselectable on PPC targets. But ftrace.h
> requires CONFIG_FRAME_POINTER for CALLER_ADDR macros. [...]
hm, why not add PPC to FRAME_POINTERS list of architectures, and select it
from the powerpc arch Kconfig? Does that cause complications somewhere?
Ingo
More information about the Linuxppc-dev
mailing list