ftrace: enable using mcount recording on x86
authorSteven Rostedt <rostedt@goodmis.org>
Thu, 14 Aug 2008 19:45:11 +0000 (15:45 -0400)
committerIngo Molnar <mingo@elte.hu>
Tue, 14 Oct 2008 08:34:54 +0000 (10:34 +0200)
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>
arch/x86/Kconfig

index fc8351f..5a34c54 100644 (file)
@@ -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)