summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2008-08-14 15:45:11 -0400
committerIngo Molnar <mingo@elte.hu>2008-10-14 10:34:54 +0200
commite4b2b8866121bd06d5f3d9de0f79a04339ffa252 (patch)
tree4fc7408e20bbe742adaabcf827ace8c4266f1263 /arch
parent29e71abf56cebc5c5a4e184a6eb4360cc58554ad (diff)
downloadlinux-3.10-e4b2b8866121bd06d5f3d9de0f79a04339ffa252.tar.gz
linux-3.10-e4b2b8866121bd06d5f3d9de0f79a04339ffa252.tar.bz2
linux-3.10-e4b2b8866121bd06d5f3d9de0f79a04339ffa252.zip
ftrace: enable using mcount recording on x86
Enable the use of the __mcount_loc infrastructure on x86_64 and i386. Signed-off-by: Steven Rostedt <srostedt@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index fc8351f374f..5a34c5427a0 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -25,6 +25,7 @@ config X86
select HAVE_KPROBES
select ARCH_WANT_OPTIONAL_GPIOLIB
select HAVE_KRETPROBES
+ select HAVE_FTRACE_MCOUNT_RECORD
select HAVE_DYNAMIC_FTRACE
select HAVE_FTRACE
select HAVE_KVM if ((X86_32 && !X86_VOYAGER && !X86_VISWS && !X86_NUMAQ) || X86_64)