/* SPDX-License-Identifier: GPL-2.0 */1#ifndef _ASM_MICROBLAZE_FTRACE2#define _ASM_MICROBLAZE_FTRACE34#ifdef CONFIG_FUNCTION_TRACER56#define MCOUNT_ADDR ((unsigned long)(_mcount))7#define MCOUNT_INSN_SIZE 8 /* sizeof mcount call */89#ifndef __ASSEMBLY__10extern void _mcount(void);11extern void ftrace_call_graph(void);12void prepare_ftrace_return(unsigned long *parent, unsigned long self_addr);13#endif1415#ifdef CONFIG_DYNAMIC_FTRACE16/* relocation of mcount call site is the same as the address */17static inline unsigned long ftrace_call_adjust(unsigned long addr)18{19return addr;20}2122struct dyn_arch_ftrace {23};24#endif /* CONFIG_DYNAMIC_FTRACE */2526#endif /* CONFIG_FUNCTION_TRACER */27#endif /* _ASM_MICROBLAZE_FTRACE */282930