From: Steven Rostedt <rostedt@goodmis.org> Date: Thu, 14 Aug 2008 19:45:11 +0000 (-0400) Subject: ftrace: enable using mcount recording on x86 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e4b2b8866121bd06d5f3d9de0f79a04339ffa252;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git 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> --- diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index fc8351f374fd..5a34c5427a07 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)