Searched refs:mcount (Results 1 – 25 of 30) sorted by relevance
12
/linux-2.6.39/Documentation/trace/ |
D | ftrace-design.txt | 31 You will need to implement the mcount and the ftrace_stub functions. 33 The exact mcount symbol name will depend on your toolchain. Some call it 34 "mcount", "_mcount", or even "__mcount". You can probably figure it out by 36 $ echo 'main(){}' | gcc -x c -S -o - - -pg | grep mcount 37 call mcount 38 We'll make the assumption below that the symbol is "mcount" just to keep things 41 Keep in mind that the ABI that is in effect inside of the mcount function is 46 mcount call (before/after function prologue). You might also want to look at 47 how glibc has implemented the mcount function for your architecture. It might 50 The mcount function should check the function pointer ftrace_trace_function [all …]
|
/linux-2.6.39/arch/sparc/lib/ |
D | mcount.S | 19 .globl mcount 20 .type mcount,#function 22 mcount: label 70 .size mcount,.-mcount
|
D | Makefile | 41 lib-$(CONFIG_SPARC64) += mcount.o ipcsum.o xor.o
|
/linux-2.6.39/arch/um/kernel/ |
D | gprof_syms.c | 8 extern void mcount(void); 9 EXPORT_SYMBOL(mcount);
|
/linux-2.6.39/arch/ia64/include/asm/ |
D | ftrace.h | 9 #define mcount _mcount macro 12 #define MCOUNT_ADDR (((struct fnptr *)mcount)->ip)
|
/linux-2.6.39/arch/sh/include/asm/ |
D | ftrace.h | 10 extern void mcount(void); 12 #define MCOUNT_ADDR ((long)(mcount))
|
/linux-2.6.39/arch/x86/include/asm/ |
D | ftrace.h | 32 #define MCOUNT_ADDR ((long)(mcount)) 36 extern void mcount(void);
|
/linux-2.6.39/arch/sh/lib/ |
D | mcount.S | 85 .globl mcount 86 .type mcount,@function 88 mcount: label
|
D | Makefile | 30 lib-$(CONFIG_MCOUNT) += mcount.o
|
/linux-2.6.39/arch/parisc/include/asm/ |
D | ftrace.h | 5 extern void mcount(void);
|
/linux-2.6.39/arch/x86/kernel/ |
D | i386_ksyms_32.c | 10 EXPORT_SYMBOL(mcount);
|
D | x8664_ksyms_64.c | 17 EXPORT_SYMBOL(mcount);
|
D | entry_32.S | 1114 ENTRY(mcount) 1116 END(mcount) 1149 ENTRY(mcount) 1181 END(mcount)
|
D | entry_64.S | 68 ENTRY(mcount) 70 END(mcount) 97 ENTRY(mcount) 127 END(mcount)
|
/linux-2.6.39/arch/arm/include/asm/ |
D | ftrace.h | 9 extern void mcount(void);
|
/linux-2.6.39/arch/mips/include/asm/ |
D | ftrace.h | 20 #define mcount _mcount macro
|
/linux-2.6.39/arch/microblaze/kernel/ |
D | Makefile | 31 obj-$(CONFIG_FUNCTION_TRACER) += ftrace.o mcount.o
|
/linux-2.6.39/drivers/mtd/onenand/ |
D | samsung.c | 415 int i, mcount, scount; in s3c_onenand_command() local 448 mcount = mtd->writesize >> 2; in s3c_onenand_command() 454 for (i = 0; i < mcount; i++) in s3c_onenand_command() 461 for (i = 0; i < mcount; i++) in s3c_onenand_command() 473 for (i = 0; i < mcount; i++) in s3c_onenand_command() 481 for (i = 0; i < mcount; i++) in s3c_onenand_command()
|
/linux-2.6.39/arch/sh/kernel/ |
D | sh_ksyms_32.c | 92 DECLARE_EXPORT(mcount);
|
/linux-2.6.39/arch/arm/kernel/ |
D | armksyms.c | 163 EXPORT_SYMBOL(mcount);
|
D | ftrace.c | 29 #define OLD_MCOUNT_ADDR ((unsigned long) mcount)
|
/linux-2.6.39/arch/s390/kernel/ |
D | Makefile | 47 obj-$(CONFIG_FUNCTION_TRACER) += $(if $(CONFIG_64BIT),mcount64.o,mcount.o)
|
/linux-2.6.39/scripts/ |
D | recordmcount.h | 278 char const *mcount = '_' == gpfx ? "_mcount" : "mcount"; in sift_rel_mcount() local 282 if (0 == strcmp(mcount, symname) || in sift_rel_mcount()
|
/linux-2.6.39/arch/x86/ |
D | Makefile_32.cpu | 50 # does stack alignment by generating horrible code _before_ the mcount
|
/linux-2.6.39/arch/mips/kernel/ |
D | Makefile | 33 obj-$(CONFIG_FUNCTION_TRACER) += mcount.o ftrace.o
|
12