Re: [PATCH 6/6] ARM: ftrace: enable function graph tracer

From: Catalin Marinas
Date: Tue Nov 09 2010 - 09:24:16 EST


On Tue, 2010-11-09 at 13:46 +0000, Rabin Vincent wrote:
> Subject: [PATCHv2] ARM: ftrace: enable function graph tracer
>
> Add the options to enable the function graph tracer on ARM. Function
> graph tracer support requires frame pointers, so exclude Thumb-2 and
> also make sure FRAME_POINTER gets enabled when FUNCTION_GRAPH_TRACER is
> used, since FUNCTION_TRACER doesn't "select FRAME_POINTER" when
> ARM_UNWIND is used. Therefore, with GCC 4.4.0+, you get plain function
> tracing without frame pointers, but you'll need them if you want
> function graph tracing.
>
> Signed-off-by: Rabin Vincent <rabin@xxxxxx>

Looks ok to me.

Acked-by: Catalin Marinas <catalin.marinas@xxxxxxx>

--
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/