diff options
author | Shaohua Li <shaohua.li@intel.com> | 2009-01-08 22:29:46 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-14 06:11:26 -0500 |
commit | d3e75ff14bc1453c4762428395aac9953a023efc (patch) | |
tree | b25ec02c30da77257ab02b232b932308260e83ba /arch/ia64/Kconfig | |
parent | 418071eb6adbfd3980b2f57f7df8e03921e3f1d7 (diff) |
ftrace, ia64: IA64 static ftrace support
IA64 ftrace suppport. In IA64, below code will be added in each function
if -pg is enabled.
alloc r40=ar.pfs,12,8,0
mov r43=r0;;
mov r42=b0
mov r41=r1
nop.i 0x0
br.call.sptk.many b0 = _mcount;;
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/ia64/Kconfig')
-rw-r--r-- | arch/ia64/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig index 3d31636cbafb..b992ba447c41 100644 --- a/arch/ia64/Kconfig +++ b/arch/ia64/Kconfig | |||
@@ -21,6 +21,7 @@ config IA64 | |||
21 | select HAVE_OPROFILE | 21 | select HAVE_OPROFILE |
22 | select HAVE_KPROBES | 22 | select HAVE_KPROBES |
23 | select HAVE_KRETPROBES | 23 | select HAVE_KRETPROBES |
24 | select HAVE_FUNCTION_TRACER | ||
24 | select HAVE_DMA_ATTRS | 25 | select HAVE_DMA_ATTRS |
25 | select HAVE_KVM | 26 | select HAVE_KVM |
26 | select HAVE_ARCH_TRACEHOOK | 27 | select HAVE_ARCH_TRACEHOOK |