Home
last modified time | relevance | path

Searched refs:mcount (Results 51 - 70 of 70) sorted by relevance

123

/kernel/linux/linux-6.6/arch/sh/kernel/
H A Dsh_ksyms_32.c117 DECLARE_EXPORT(mcount); variable
/kernel/linux/linux-6.6/arch/sparc/lib/
H A DMakefile52 lib-$(CONFIG_SPARC64) += mcount.o ipcsum.o xor.o hweight.o ffs.o
/kernel/linux/linux-5.10/arch/s390/kernel/
H A DMakefile61 obj-$(CONFIG_FUNCTION_TRACER) += mcount.o ftrace.o
/kernel/linux/linux-5.10/arch/mips/kernel/
H A DMakefile43 obj-$(CONFIG_FUNCTION_TRACER) += mcount.o ftrace.o
/kernel/linux/linux-6.6/arch/mips/kernel/
H A DMakefile43 obj-$(CONFIG_FUNCTION_TRACER) += mcount.o ftrace.o
/kernel/linux/linux-6.6/arch/powerpc/kernel/trace/
H A Dftrace_entry.S192 * This function runs in the mcount context, between two functions. As
259 _GLOBAL(mcount)
/kernel/linux/linux-6.6/arch/s390/
H A DMakefile98 ifeq ($(call cc-option,-mfentry -mnop-mcount),)
/kernel/linux/linux-5.10/scripts/
H A Drecordmcount.h158 * MIPS mcount long call has 2 _mcount symbols, only the position of the 1st
359 char const *mcount = gpfx == '_' ? "_mcount" : "mcount"; in get_mcountsym() local
364 if (strcmp(mcount, symname) == 0 || in get_mcountsym()
396 * Look at the relocations in order to find the calls to mcount.
448 * that are not going to be traced. The mcount calls here will be converted
479 printf("Section %s has mcount callers being ignored\n", in nop_mcount()
489 * If we successfully removed the mcount, mark the relocation in nop_mcount()
508 * the table of offsets of calls to mcount. A local or global symbol suffices,
510 * would invalidate the relocations of the offsets of the calls to mcount
[all...]
/kernel/linux/linux-6.6/scripts/
H A Drecordmcount.h158 * MIPS mcount long call has 2 _mcount symbols, only the position of the 1st
359 char const *mcount = gpfx == '_' ? "_mcount" : "mcount"; in get_mcountsym() local
364 if (strcmp(mcount, symname) == 0 || in get_mcountsym()
396 * Look at the relocations in order to find the calls to mcount.
448 * that are not going to be traced. The mcount calls here will be converted
479 printf("Section %s has mcount callers being ignored\n", in nop_mcount()
489 * If we successfully removed the mcount, mark the relocation in nop_mcount()
508 * the table of offsets of calls to mcount. A local or global symbol suffices,
510 * would invalidate the relocations of the offsets of the calls to mcount
[all...]
/kernel/linux/linux-5.10/arch/arm/kernel/
H A Dentry-ftrace.S10 * When compiling with -pg, gcc inserts a call to the mcount routine at the
11 * start of every function. In mcount, apart from the function's address (in
14 * Newer GCCs (4.4+) solve this problem by using a version of mcount with call
22 * mcount can be thought of as a function called in the middle of a subroutine
24 * callee: the original lr needs to be restored when leaving mcount, and no
27 * When using dynamic ftrace, we patch out the mcount call by a "pop {lr}"
80 @ before the push {lr} of the mcount mechanism
/kernel/linux/linux-5.10/arch/s390/
H A DMakefile118 ifeq ($(call cc-option-yn,-mfentry -mnop-mcount),n)
/kernel/linux/linux-6.6/arch/arm/kernel/
H A Dentry-ftrace.S10 * When compiling with -pg, gcc inserts a call to the mcount routine at the
11 * start of every function. In mcount, apart from the function's address (in
14 * Newer GCCs (4.4+) solve this problem by using a version of mcount with call
22 * mcount can be thought of as a function called in the middle of a subroutine
24 * callee: the original lr needs to be restored when leaving mcount, and no
27 * When using dynamic ftrace, we patch out the mcount call by a "add sp, #4"
77 @ before the push {lr} of the mcount mechanism
/kernel/linux/linux-5.10/arch/powerpc/xmon/
H A Dxmon.c3077 static unsigned long mcount; /* # bytes to affect */ variable
3089 scanhex((void *)&mcount); in memops()
3096 memmove((void *)mdest, (void *)msrc, mcount); in memops()
3103 memset((void *)mdest, mval, mcount); in memops()
3109 memdiffs((unsigned char *)mdest, (unsigned char *)msrc, mcount, mdiffs); in memops()
/kernel/linux/linux-5.10/
H A DMakefile871 CC_FLAGS_FTRACE += -mrecord-mcount
873 ifeq ($(call cc-option-yn, -mnop-mcount),y)
874 CC_FLAGS_FTRACE += -mnop-mcount
1675 @echo ' make RECORDMCOUNT_WARN=1 [targets] Warn about ignored mcount sections'
/kernel/linux/linux-6.6/
H A DMakefile900 CC_FLAGS_FTRACE += -mrecord-mcount
902 ifeq ($(call cc-option-yn, -mnop-mcount),y)
903 CC_FLAGS_FTRACE += -mnop-mcount
1661 @echo ' make RECORDMCOUNT_WARN=1 [targets] Warn about ignored mcount sections'
/kernel/linux/linux-6.6/arch/powerpc/xmon/
H A Dxmon.c3147 static unsigned long mcount; /* # bytes to affect */ variable
3159 scanhex((void *)&mcount); in memops()
3166 memmove((void *)mdest, (void *)msrc, mcount); in memops()
3173 memset((void *)mdest, mval, mcount); in memops()
3179 memdiffs((unsigned char *)mdest, (unsigned char *)msrc, mcount, mdiffs); in memops()
/kernel/linux/linux-5.10/arch/parisc/kernel/
H A Dentry.S1984 ENTRY_CFI(mcount, caller)
1988 * The 64bit mcount() function pointer needs 4 dwords, of which the
1990 * calling mcount(), and 2 instructions for ftrace_stub(). That way we
2006 .dword mcount
2009 ENDPROC_CFI(mcount)
/kernel/linux/linux-6.6/arch/parisc/kernel/
H A Dentry.S1910 ENTRY_CFI(mcount, caller)
1914 * The 64bit mcount() function pointer needs 4 dwords, of which the
1916 * calling mcount(), and 2 instructions for ftrace_stub(). That way we
1932 .dword mcount
1935 ENDPROC_CFI(mcount)
/kernel/linux/linux-6.6/rust/
H A DMakefile282 -mfunction-return=thunk-extern -mrecord-mcount -mabi=lp64 \
/kernel/linux/linux-6.6/tools/objtool/
H A Dcheck.c1406 if (opts.mcount && sym->fentry) { in annotate_call_site()
4783 if (opts.mcount) { in check()

Completed in 27 milliseconds

123