Abhishek Sagar | 395a59d | 2008-06-21 23:47:27 +0530 | [diff] [blame] | 1 | #ifndef _ASM_ARM_FTRACE |
2 | #define _ASM_ARM_FTRACE | ||||
3 | |||||
Steven Rostedt | 606576c | 2008-10-06 19:06:12 -0400 | [diff] [blame] | 4 | #ifdef CONFIG_FUNCTION_TRACER |
Abhishek Sagar | 395a59d | 2008-06-21 23:47:27 +0530 | [diff] [blame] | 5 | #define MCOUNT_ADDR ((long)(mcount)) |
6 | #define MCOUNT_INSN_SIZE 4 /* sizeof mcount call */ | ||||
7 | |||||
8 | #ifndef __ASSEMBLY__ | ||||
9 | extern void mcount(void); | ||||
10 | #endif | ||||
11 | |||||
12 | #endif | ||||
13 | |||||
14 | #endif /* _ASM_ARM_FTRACE */ |