Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v5.4-rc8 29 lines 581 B view raw
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 14 8 9#define HAVE_FUNCTION_GRAPH_FP_TEST 10 11#define HAVE_FUNCTION_GRAPH_RET_ADDR_PTR 12 13#define MCOUNT_ADDR ((unsigned long)_mcount) 14 15#ifndef __ASSEMBLY__ 16 17extern void _mcount(unsigned long); 18 19extern void ftrace_graph_call(void); 20 21static inline unsigned long ftrace_call_adjust(unsigned long addr) 22{ 23 return addr; 24} 25 26struct dyn_arch_ftrace { 27}; 28#endif /* !__ASSEMBLY__ */ 29#endif /* __ASM_CSKY_FTRACE_H */