]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ftrace, ia64: IA64 static ftrace support
authorShaohua Li <shaohua.li@intel.com>
Fri, 9 Jan 2009 03:29:46 +0000 (11:29 +0800)
committerIngo Molnar <mingo@elte.hu>
Wed, 14 Jan 2009 11:11:26 +0000 (12:11 +0100)
commitd3e75ff14bc1453c4762428395aac9953a023efc
treeb25ec02c30da77257ab02b232b932308260e83ba
parent418071eb6adbfd3980b2f57f7df8e03921e3f1d7
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>
arch/ia64/Kconfig
arch/ia64/include/asm/ftrace.h [new file with mode: 0644]
arch/ia64/kernel/entry.S
arch/ia64/kernel/ia64_ksyms.c