aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/ftrace.h
blob: 5c68b32ee1c81c28a51392303f767f05cf9ae5f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef _ASM_X86_FTRACE
#define _ASM_X86_FTRACE

#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 */