2008-06-22 02:17:27 +08:00
|
|
|
#ifndef _ASM_X86_FTRACE
|
2008-07-17 05:31:17 +08:00
|
|
|
#define _ASM_X86_FTRACE
|
2008-06-22 02:17:27 +08:00
|
|
|
|
|
|
|
#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 */
|