Loading...
Note: File does not exist in v4.6.
1/* SPDX-License-Identifier: GPL-2.0 */
2
3#ifndef __ASM_CSKY_FTRACE_H
4#define __ASM_CSKY_FTRACE_H
5
6#define MCOUNT_INSN_SIZE 14
7
8#define HAVE_FUNCTION_GRAPH_FP_TEST
9
10#define HAVE_FUNCTION_GRAPH_RET_ADDR_PTR
11
12#define ARCH_SUPPORTS_FTRACE_OPS 1
13
14#define MCOUNT_ADDR ((unsigned long)_mcount)
15
16#ifndef __ASSEMBLY__
17
18extern void _mcount(unsigned long);
19
20extern void ftrace_graph_call(void);
21
22static inline unsigned long ftrace_call_adjust(unsigned long addr)
23{
24 return addr;
25}
26
27struct dyn_arch_ftrace {
28};
29#endif /* !__ASSEMBLY__ */
30#endif /* __ASM_CSKY_FTRACE_H */