diff options
author | Rabin Vincent <rabin@rab.in> | 2010-11-30 11:36:48 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-12-04 06:30:27 -0500 |
commit | ed60453fa8f8fc3d034dfdf10371a99cc6905626 (patch) | |
tree | 54a67cc7e01481c7b11b5c077a784149b8ad7979 /arch/arm/Kconfig | |
parent | cd3478f2bd8f2cec19f9247a8a9cd711cbe37683 (diff) |
ARM: 6511/1: ftrace: add ARM support for C version of recordmcount
Depending on the compiler version, ARM GCC calls the mcount function
either __gnu_mcount_nc or mcount.
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 'arch/arm/Kconfig')
-rw-r--r-- | arch/arm/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index db524e75c4a2..a7b9070b661e 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -23,6 +23,7 @@ config ARM | |||
23 | select PERF_USE_VMALLOC | 23 | select PERF_USE_VMALLOC |
24 | select HAVE_REGS_AND_STACK_ACCESS_API | 24 | select HAVE_REGS_AND_STACK_ACCESS_API |
25 | select HAVE_HW_BREAKPOINT if (PERF_EVENTS && (CPU_V6 || CPU_V7)) | 25 | select HAVE_HW_BREAKPOINT if (PERF_EVENTS && (CPU_V6 || CPU_V7)) |
26 | select HAVE_C_RECORDMCOUNT | ||
26 | help | 27 | help |
27 | The ARM series is a line of low-power-consumption RISC chip designs | 28 | The ARM series is a line of low-power-consumption RISC chip designs |
28 | licensed by ARM Ltd and targeted at embedded applications and | 29 | licensed by ARM Ltd and targeted at embedded applications and |