aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/ftrace.h
blob: be0e004ad148123fc5f4b85e2c5a6c2ce8569aea (plain) (blame)
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 */