| /linux/Documentation/trace/ |
| A D | ftrace-design.rst | 44 call mcount 66 mcount(), the arguments mcount() will pass to the tracer are: 86 void mcount(void) 109 Don't forget to export mcount for modules ! 112 extern void mcount(void); 113 EXPORT_SYMBOL(mcount); 141 Here is the updated mcount pseudo code:: 143 void mcount(void) 261 - mcount() (new stub) 279 extern void mcount(void); [all …]
|
| /linux/arch/sparc/lib/ |
| A D | mcount.S | 22 .globl mcount 23 .type mcount,#function 25 mcount: label 70 .size mcount,.-mcount
|
| /linux/arch/um/kernel/ |
| A D | gprof_syms.c | 8 extern void mcount(void); 9 EXPORT_SYMBOL(mcount);
|
| /linux/net/dsa/ |
| A D | conduit.c | 158 int mcount = 0, count, i; in dsa_conduit_get_strings() local 168 mcount = phy_ethtool_get_sset_count(dev->phydev); in dsa_conduit_get_strings() 169 if (mcount < 0) in dsa_conduit_get_strings() 170 mcount = 0; in dsa_conduit_get_strings() 174 mcount = ops->get_sset_count(dev, stringset); in dsa_conduit_get_strings() 175 if (mcount < 0) in dsa_conduit_get_strings() 176 mcount = 0; in dsa_conduit_get_strings() 181 ndata = data + mcount * len; in dsa_conduit_get_strings()
|
| /linux/arch/parisc/include/asm/ |
| A D | ftrace.h | 6 extern void mcount(void); 8 #define MCOUNT_ADDR ((unsigned long)mcount)
|
| /linux/arch/sh/include/asm/ |
| A D | ftrace.h | 11 extern void mcount(void); 13 #define MCOUNT_ADDR ((unsigned long)(mcount))
|
| /linux/include/linux/ |
| A D | rethook.h | 65 void rethook_hook(struct rethook_node *node, struct pt_regs *regs, bool mcount); 70 void arch_rethook_prepare(struct rethook_node *node, struct pt_regs *regs, bool mcount);
|
| /linux/tools/objtool/ |
| A D | builtin-check.c | 72 OPT_BOOLEAN('m', "mcount", &opts.mcount, "annotate mcount/fentry calls for ftrace"), 137 opts.mcount || in opts_valid() 168 if (opts.mnop && !opts.mcount) { in mnop_opts_valid()
|
| /linux/arch/sh/lib/ |
| A D | mcount.S | 82 .globl mcount 83 .type mcount,@function 85 mcount: label
|
| A D | Makefile | 29 lib-$(CONFIG_MCOUNT) += mcount.o
|
| /linux/arch/riscv/kernel/probes/ |
| A D | rethook.h | 6 void arch_rethook_prepare(struct rethook_node *rhn, struct pt_regs *regs, bool mcount);
|
| A D | rethook.c | 18 void arch_rethook_prepare(struct rethook_node *rhn, struct pt_regs *regs, bool mcount) in arch_rethook_prepare() argument
|
| /linux/arch/loongarch/kernel/ |
| A D | rethook.h | 6 void arch_rethook_prepare(struct rethook_node *rhn, struct pt_regs *regs, bool mcount);
|
| A D | rethook.c | 17 void arch_rethook_prepare(struct rethook_node *rhn, struct pt_regs *regs, bool mcount) in arch_rethook_prepare() argument
|
| /linux/arch/xtensa/include/asm/ |
| A D | ftrace.h | 27 #define mcount _mcount macro
|
| /linux/arch/s390/kernel/ |
| A D | Makefile | 63 obj-$(CONFIG_KPROBES) += mcount.o 66 obj-$(CONFIG_FUNCTION_TRACER) += mcount.o
|
| A D | rethook.c | 6 void arch_rethook_prepare(struct rethook_node *rh, struct pt_regs *regs, bool mcount) in arch_rethook_prepare() argument
|
| /linux/arch/csky/abiv2/ |
| A D | Makefile | 14 obj-$(CONFIG_FUNCTION_TRACER) += mcount.o
|
| /linux/tools/objtool/include/objtool/ |
| A D | builtin.h | 17 bool mcount; member
|
| /linux/drivers/mtd/nand/onenand/ |
| A D | onenand_samsung.c | 383 int i, mcount, scount; in s3c_onenand_command() local 417 mcount = mtd->writesize >> 2; in s3c_onenand_command() 423 for (i = 0; i < mcount; i++) in s3c_onenand_command() 430 for (i = 0; i < mcount; i++) in s3c_onenand_command() 442 for (i = 0; i < mcount; i++) in s3c_onenand_command() 450 for (i = 0; i < mcount; i++) in s3c_onenand_command()
|
| /linux/arch/powerpc/kernel/ |
| A D | rethook.c | 31 void arch_rethook_prepare(struct rethook_node *rh, struct pt_regs *regs, bool mcount) in arch_rethook_prepare() argument
|
| /linux/arch/riscv/kernel/ |
| A D | Makefile | 95 obj-$(CONFIG_FUNCTION_TRACER) += mcount.o ftrace.o 96 obj-$(CONFIG_DYNAMIC_FTRACE) += mcount-dyn.o
|
| /linux/kernel/trace/ |
| A D | rethook.c | 197 void rethook_hook(struct rethook_node *node, struct pt_regs *regs, bool mcount) in rethook_hook() argument 199 arch_rethook_prepare(node, regs, mcount); in rethook_hook()
|
| /linux/arch/microblaze/kernel/ |
| A D | Makefile | 26 obj-$(CONFIG_FUNCTION_TRACER) += ftrace.o mcount.o
|
| /linux/arch/x86/kernel/ |
| A D | rethook.c | 117 void arch_rethook_prepare(struct rethook_node *rh, struct pt_regs *regs, bool mcount) in arch_rethook_prepare() argument
|