1#ifndef _ASM_METAG_FTRACE 2#define _ASM_METAG_FTRACE 3 4#ifdef CONFIG_FUNCTION_TRACER 5#define MCOUNT_INSN_SIZE 8 /* sizeof mcount call */ 6 7#ifndef __ASSEMBLY__ 8extern void mcount_wrapper(void); 9#define MCOUNT_ADDR ((unsigned long)(mcount_wrapper)) 10 11static inline unsigned long ftrace_call_adjust(unsigned long addr) 12{ 13 return addr; 14} 15 16struct dyn_arch_ftrace { 17 /* No extra data needed on metag */ 18}; 19#endif /* __ASSEMBLY__ */ 20 21#endif /* CONFIG_FUNCTION_TRACER */ 22 23#endif /* _ASM_METAG_FTRACE */ 24