1 2 3 4 5 6 7 8 9 10 11 12 13 14
#ifndef ASM_X86__FTRACE_H #define ASM_X86__FTRACE_H #ifdef CONFIG_FTRACE #define MCOUNT_ADDR ((long)(mcount)) #define MCOUNT_INSN_SIZE 5 /* sizeof mcount call */ #ifndef __ASSEMBLY__ extern void mcount(void); #endif #endif /* CONFIG_FTRACE */ #endif /* ASM_X86__FTRACE_H */