1 #ifndef _ASM_SPARC64_FTRACE
2 #define _ASM_SPARC64_FTRACE
5 #define MCOUNT_ADDR ((unsigned long)(_mcount))
6 #define MCOUNT_INSN_SIZE 4 /* sizeof mcount call */
12 #endif /* CONFIG_MCOUNT */
14 #if defined(CONFIG_SPARC64) && !defined(CC_USE_FENTRY)
15 #define HAVE_FUNCTION_GRAPH_FP_TEST
18 #ifdef CONFIG_DYNAMIC_FTRACE
19 /* reloction of mcount call site is the same as the address */
20 static inline unsigned long ftrace_call_adjust(unsigned long addr)
25 struct dyn_arch_ftrace {
27 #endif /* CONFIG_DYNAMIC_FTRACE */
29 unsigned long prepare_ftrace_return(unsigned long parent,
30 unsigned long self_addr,
31 unsigned long frame_pointer);
33 #endif /* _ASM_SPARC64_FTRACE */