]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: ftrace: enable function graph tracer
authorRabin Vincent <rabin@rab.in>
Sat, 6 Nov 2010 17:33:53 +0000 (23:03 +0530)
committerRabin Vincent <rabin@rab.in>
Fri, 19 Nov 2010 16:13:28 +0000 (21:43 +0530)
commit0e341af835fdf553820a1fa98341b93ab32ce466
tree633b4088fdf119931a5a3039e6b83bc1b9245a42
parentdd686eb13959e49a1112fd608c124ab711050582
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.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Rabin Vincent <rabin@rab.in>
arch/arm/Kconfig
arch/arm/Kconfig.debug