Home
last modified time | relevance | path

Searched refs:mcount (Results 1 – 25 of 30) sorted by relevance

12

/linux-2.6.39/Documentation/trace/
Dftrace-design.txt31 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/
Dmcount.S19 .globl mcount
20 .type mcount,#function
22 mcount: label
70 .size mcount,.-mcount
DMakefile41 lib-$(CONFIG_SPARC64) += mcount.o ipcsum.o xor.o
/linux-2.6.39/arch/um/kernel/
Dgprof_syms.c8 extern void mcount(void);
9 EXPORT_SYMBOL(mcount);
/linux-2.6.39/arch/ia64/include/asm/
Dftrace.h9 #define mcount _mcount macro
12 #define MCOUNT_ADDR (((struct fnptr *)mcount)->ip)
/linux-2.6.39/arch/sh/include/asm/
Dftrace.h10 extern void mcount(void);
12 #define MCOUNT_ADDR ((long)(mcount))
/linux-2.6.39/arch/x86/include/asm/
Dftrace.h32 #define MCOUNT_ADDR ((long)(mcount))
36 extern void mcount(void);
/linux-2.6.39/arch/sh/lib/
Dmcount.S85 .globl mcount
86 .type mcount,@function
88 mcount: label
DMakefile30 lib-$(CONFIG_MCOUNT) += mcount.o
/linux-2.6.39/arch/parisc/include/asm/
Dftrace.h5 extern void mcount(void);
/linux-2.6.39/arch/x86/kernel/
Di386_ksyms_32.c10 EXPORT_SYMBOL(mcount);
Dx8664_ksyms_64.c17 EXPORT_SYMBOL(mcount);
Dentry_32.S1114 ENTRY(mcount)
1116 END(mcount)
1149 ENTRY(mcount)
1181 END(mcount)
Dentry_64.S68 ENTRY(mcount)
70 END(mcount)
97 ENTRY(mcount)
127 END(mcount)
/linux-2.6.39/arch/arm/include/asm/
Dftrace.h9 extern void mcount(void);
/linux-2.6.39/arch/mips/include/asm/
Dftrace.h20 #define mcount _mcount macro
/linux-2.6.39/arch/microblaze/kernel/
DMakefile31 obj-$(CONFIG_FUNCTION_TRACER) += ftrace.o mcount.o
/linux-2.6.39/drivers/mtd/onenand/
Dsamsung.c415 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/
Dsh_ksyms_32.c92 DECLARE_EXPORT(mcount);
/linux-2.6.39/arch/arm/kernel/
Darmksyms.c163 EXPORT_SYMBOL(mcount);
Dftrace.c29 #define OLD_MCOUNT_ADDR ((unsigned long) mcount)
/linux-2.6.39/arch/s390/kernel/
DMakefile47 obj-$(CONFIG_FUNCTION_TRACER) += $(if $(CONFIG_64BIT),mcount64.o,mcount.o)
/linux-2.6.39/scripts/
Drecordmcount.h278 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/
DMakefile_32.cpu50 # does stack alignment by generating horrible code _before_ the mcount
/linux-2.6.39/arch/mips/kernel/
DMakefile33 obj-$(CONFIG_FUNCTION_TRACER) += mcount.o ftrace.o

12