]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ftrace, ia64: Add macro for ftrace_caller
authorShaohua Li <shaohua.li@intel.com>
Fri, 9 Jan 2009 03:29:42 +0000 (11:29 +0800)
committerIngo Molnar <mingo@elte.hu>
Wed, 14 Jan 2009 11:11:18 +0000 (12:11 +0100)
commitf00012074b1a1a67d9c8603617bbbab267347ca6
tree7a5ec4d30a513914277ccaa607ff88ecf294f84a
parent25aac9dc7c8c73798c1be8aa36141f980d32579e
ftrace, ia64: Add macro for ftrace_caller

Define FTRACE_ADDR. In IA64, a function pointer isn't a 'unsigned long' but a
'struct {unsigned long ip, unsigned long gp}'.

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>
include/linux/ftrace.h
kernel/trace/ftrace.c