From: Heiko Carstens Date: Wed, 10 Nov 2010 09:05:56 +0000 (+0100) Subject: [S390] ftrace: build without frame pointers on s390 X-Git-Tag: upstream/snapshot3+hdmi~12439^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=becf91f18750cf1c60828aa2ee63a36b05c2e4d0;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git [S390] ftrace: build without frame pointers on s390 s390 doesn't need FRAME_POINTERS in order to have a working function tracer. We don't need frame pointers in order to get strack traces since we always have valid backchains by using the -mkernel-backchain gcc option. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig index e04b8bc..ea37e2f 100644 --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig @@ -126,7 +126,7 @@ if FTRACE config FUNCTION_TRACER bool "Kernel Function Tracer" depends on HAVE_FUNCTION_TRACER - select FRAME_POINTER if (!ARM_UNWIND) + select FRAME_POINTER if !ARM_UNWIND && !S390 select KALLSYMS select GENERIC_TRACER select CONTEXT_SWITCH_TRACER