aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorRabin Vincent <rabin@rab.in>2010-08-10 19:32:37 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-09-02 15:24:53 +0100
commit09bfafac3e237415cc4b6adde49f9f28b3a42659 (patch)
tree980006ad889a1395140dba2a3718ead537975df3 /kernel
parent7e9501fdecdee8151938e624b41978307cadddd2 (diff)
downloadkernel_goldelico_gta04-09bfafac3e237415cc4b6adde49f9f28b3a42659.zip
kernel_goldelico_gta04-09bfafac3e237415cc4b6adde49f9f28b3a42659.tar.gz
kernel_goldelico_gta04-09bfafac3e237415cc4b6adde49f9f28b3a42659.tar.bz2
ARM: 6314/1: ftrace: allow build without frame pointers on ARM
With a new enough GCC, ARM function tracing can be supported without the need for frame pointers. This is essential for Thumb-2 support, since frame pointers aren't available then. Acked-by: Catalin Marinas <catalin.marinas@arm.com> Acked-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Rabin Vincent <rabin@rab.in> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/trace/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig
index 538501c..6329d06 100644
--- a/kernel/trace/Kconfig
+++ b/kernel/trace/Kconfig
@@ -121,7 +121,7 @@ if FTRACE
config FUNCTION_TRACER
bool "Kernel Function Tracer"
depends on HAVE_FUNCTION_TRACER
- select FRAME_POINTER
+ select FRAME_POINTER if (!ARM_UNWIND)
select KALLSYMS
select GENERIC_TRACER
select CONTEXT_SWITCH_TRACER