Re: [PATCH v2] ftrace: On PowerPC we don't need frame pointers forCALLER_ADDRs

From: Ingo Molnar
Date: Tue Feb 03 2009 - 11:10:27 EST



* Anton Vorontsov <avorontsov@xxxxxxxxxxxxx> 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
--
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/