1 #ifndef _ASM_METAG_FTRACE
2 #define _ASM_METAG_FTRACE
4 #ifdef CONFIG_FUNCTION_TRACER
5 #define MCOUNT_INSN_SIZE 8 /* sizeof mcount call */
8 extern void mcount_wrapper(void);
9 #define MCOUNT_ADDR ((long)(mcount_wrapper))
11 static inline unsigned long ftrace_call_adjust(unsigned long addr)
16 struct dyn_arch_ftrace {
17 /* No extra data needed on metag */
19 #endif /* __ASSEMBLY__ */
21 #endif /* CONFIG_FUNCTION_TRACER */
23 #endif /* _ASM_METAG_FTRACE */