Searched refs:mcount (Results 26 - 41 of 41) sorted by relevance

12

/linux-master/arch/riscv/kernel/
H A DMakefile83 obj-$(CONFIG_FUNCTION_TRACER) += mcount.o ftrace.o
84 obj-$(CONFIG_DYNAMIC_FTRACE) += mcount-dyn.o
/linux-master/kernel/trace/
H A Drethook.c188 * @mcount: True if this is called from mcount(ftrace) context.
192 * entry.) @mcount is used for identifying the context. If this is called
193 * from ftrace (mcount) callback, @mcount must be set true. If this is called
194 * from the real function entry (e.g. kprobes) @mcount must be set false.
197 void rethook_hook(struct rethook_node *node, struct pt_regs *regs, bool mcount) argument
199 arch_rethook_prepare(node, regs, mcount);
/linux-master/arch/sparc/lib/
H A DMakefile51 lib-$(CONFIG_SPARC64) += mcount.o ipcsum.o xor.o hweight.o ffs.o
/linux-master/arch/loongarch/kernel/
H A DMakefile31 obj-y += mcount.o ftrace.o
/linux-master/drivers/mtd/nand/onenand/
H A Donenand_samsung.c383 int i, mcount, scount; local
417 mcount = mtd->writesize >> 2;
423 for (i = 0; i < mcount; i++)
430 for (i = 0; i < mcount; i++)
442 for (i = 0; i < mcount; i++)
450 for (i = 0; i < mcount; i++)
/linux-master/arch/mips/kernel/
H A DMakefile43 obj-$(CONFIG_FUNCTION_TRACER) += mcount.o ftrace.o
/linux-master/arch/powerpc/kernel/trace/
H A Dftrace_entry.S190 * This function runs in the mcount context, between two functions. As
257 _GLOBAL(mcount)
/linux-master/arch/s390/
H A DMakefile99 ifeq ($(call cc-option,-mfentry -mnop-mcount),)
/linux-master/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"; local
364 if (strcmp(mcount, symname) == 0 ||
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",
489 * If we successfully removed the mcount, mark the relocation
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...]
H A DMakefile.lib273 objtool-args-$(CONFIG_FTRACE_MCOUNT_USE_OBJTOOL) += --mcount
/linux-master/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
/linux-master/
H A DMakefile898 CC_FLAGS_FTRACE += -mrecord-mcount
900 ifeq ($(call cc-option-yn, -mnop-mcount),y)
901 CC_FLAGS_FTRACE += -mnop-mcount
1676 @echo ' make RECORDMCOUNT_WARN=1 [targets] Warn about ignored mcount sections'
/linux-master/arch/powerpc/xmon/
H A Dxmon.c3145 static unsigned long mcount; /* # bytes to affect */ variable
3157 scanhex((void *)&mcount);
3164 memmove((void *)mdest, (void *)msrc, mcount);
3171 memset((void *)mdest, mval, mcount);
3177 memdiffs((unsigned char *)mdest, (unsigned char *)msrc, mcount, mdiffs);
/linux-master/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)
/linux-master/rust/
H A DMakefile274 -mfunction-return=thunk-extern -mrecord-mcount -mabi=lp64 \
/linux-master/tools/objtool/
H A Dcheck.c1409 if (opts.mcount && sym->fentry) {
4815 if (opts.mcount) {

Completed in 198 milliseconds

12