xref: /openbmc/linux/arch/csky/include/asm/ftrace.h (revision 2fa49589)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
3 
4 #ifndef __ASM_CSKY_FTRACE_H
5 #define __ASM_CSKY_FTRACE_H
6 
7 #define MCOUNT_INSN_SIZE 4
8 
9 #define HAVE_FUNCTION_GRAPH_FP_TEST
10 
11 #define HAVE_FUNCTION_GRAPH_RET_ADDR_PTR
12 
13 #endif /* __ASM_CSKY_FTRACE_H */
14