#ifndef _ASM_IA64_FTRACE_H1#define _ASM_IA64_FTRACE_H23#ifdef CONFIG_FUNCTION_TRACER4#define MCOUNT_INSN_SIZE 32 /* sizeof mcount call */56#ifndef __ASSEMBLY__7extern void _mcount(unsigned long pfs, unsigned long r1, unsigned long b0, unsigned long r0);8#define mcount _mcount910/* In IA64, MCOUNT_ADDR is set in link time, so it's not a constant at compile time */11#define MCOUNT_ADDR (((struct fnptr *)mcount)->ip)12#define FTRACE_ADDR (((struct fnptr *)ftrace_caller)->ip)1314static inline unsigned long ftrace_call_adjust(unsigned long addr)15{16/* second bundle, insn 2 */17return addr - 0x12;18}1920struct dyn_arch_ftrace {21};22#endif2324#endif /* CONFIG_FUNCTION_TRACER */2526#endif /* _ASM_IA64_FTRACE_H */272829