Searched refs:mcount (Results 1 - 25 of 27) sorted by relevance

12

/arch/um/kernel/
H A Dgprof_syms.c8 extern void mcount(void);
9 EXPORT_SYMBOL(mcount); variable
/arch/parisc/include/asm/
H A Dftrace.h5 extern void mcount(void);
/arch/ia64/include/asm/
H A Dftrace.h5 #define MCOUNT_INSN_SIZE 32 /* sizeof mcount call */
9 #define mcount _mcount macro
12 #define MCOUNT_ADDR (((struct fnptr *)mcount)->ip)
/arch/sh/include/asm/
H A Dftrace.h6 #define MCOUNT_INSN_SIZE 4 /* sizeof mcount call */
10 extern void mcount(void);
12 #define MCOUNT_ADDR ((long)(mcount))
/arch/arm/include/asm/
H A Dftrace.h6 #define MCOUNT_INSN_SIZE 4 /* sizeof mcount call */
9 extern void mcount(void);
/arch/xtensa/include/asm/
H A Dftrace.h36 #define mcount _mcount macro
/arch/x86/kernel/
H A Di386_ksyms_32.c9 /* mcount is defined in assembly */
10 EXPORT_SYMBOL(mcount); variable
H A Dx8664_ksyms_64.c16 /* mcount and __fentry__ are defined in assembly */
20 EXPORT_SYMBOL(mcount); variable
H A Dmcount_64.S21 # define function_hook mcount
H A Dentry_32.S1055 ENTRY(mcount) function
1057 END(mcount)
1153 ENTRY(mcount) function
1185 END(mcount)
/arch/x86/include/asm/
H A Dftrace.h41 # define MCOUNT_ADDR ((long)(mcount))
43 #define MCOUNT_INSN_SIZE 5 /* sizeof mcount call */
50 extern void mcount(void);
57 * addr is the address of the mcount call instruction.
/arch/sparc/lib/
H A Dmcount.S4 * This file implements mcount(), which is used to collect profiling data.
19 .globl mcount
20 .type mcount,#function
22 mcount: label
67 .size mcount,.-mcount
H A DMakefile42 lib-$(CONFIG_SPARC64) += mcount.o ipcsum.o xor.o hweight.o ffs.o
/arch/microblaze/kernel/
H A DMakefile29 obj-$(CONFIG_FUNCTION_TRACER) += ftrace.o mcount.o
/arch/mips/include/asm/
H A Dftrace.h16 #define MCOUNT_INSN_SIZE 4 /* sizeof mcount call */
20 #define mcount _mcount macro
/arch/sh/lib/
H A DMakefile30 lib-$(CONFIG_MCOUNT) += mcount.o
H A Dmcount.S2 * arch/sh/lib/mcount.S
85 .globl mcount
86 .type mcount,@function
88 mcount: label
/arch/xtensa/kernel/
H A DMakefile14 obj-$(CONFIG_FUNCTION_TRACER) += mcount.o
/arch/arm/kernel/
H A Darmksyms.c163 EXPORT_SYMBOL(mcount); variable
H A Dftrace.c9 * Defines low-level handling of mcount calls when the kernel
11 * mcount call-sites get patched with NOP till they are enabled.
34 #define OLD_MCOUNT_ADDR ((unsigned long) mcount)
H A Dentry-common.S114 * When compiling with -pg, gcc inserts a call to the mcount routine at the
115 * start of every function. In mcount, apart from the function's address (in
118 * Older GCCs (pre-4.4) inserted a call to a routine called mcount like this:
120 * bl mcount
122 * These versions have the limitation that in order for the mcount routine to
133 * Newer GCCs (4.4+) solve this problem by introducing a new version of mcount,
141 * mcount can be thought of as a function called in the middle of a subroutine
143 * callee: the original lr needs to be restored when leaving mcount, and no
149 * When using dynamic ftrace, we patch out the mcount call by a "mov r0, r0"
150 * for the mcount cas
247 ENTRY(mcount) function
[all...]
/arch/sh/kernel/
H A Dsh_ksyms_32.c96 DECLARE_EXPORT(mcount); variable
/arch/s390/kernel/
H A DMakefile55 obj-$(CONFIG_FUNCTION_TRACER) += mcount.o ftrace.o
/arch/mips/kernel/
H A DMakefile38 obj-$(CONFIG_FUNCTION_TRACER) += mcount.o ftrace.o
/arch/powerpc/xmon/
H A Dxmon.c2301 static unsigned long mcount; /* # bytes to affect */ variable
2313 scanhex((void *)&mcount);
2316 memmove((void *)mdest, (void *)msrc, mcount);
2319 memset((void *)mdest, mval, mcount);
2325 memdiffs((unsigned char *)mdest, (unsigned char *)msrc, mcount, mdiffs);

Completed in 539 milliseconds

12