Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/kernel/Documentation/trace/
H A Dftrace-design.rst37 You will need to implement the mcount and the ftrace_stub functions.
39 The exact mcount symbol name will depend on your toolchain. Some call it
40 "mcount", "_mcount", or even "__mcount". You can probably figure it out by
43 $ echo 'main(){}' | gcc -x c -S -o - - -pg | grep mcount
44 call mcount
46 We'll make the assumption below that the symbol is "mcount" just to keep things
49 Keep in mind that the ABI that is in effect inside of the mcount function is
54 mcount call (before/after function prologue). You might also want to look at
55 how glibc has implemented the mcount function for your architecture. It might
58 The mcount function should check the function pointer ftrace_trace_function
[all …]
/OK3568_Linux_fs/buildroot/package/uftrace/
H A D0002-arch-arm-mcount-support.c-define-EF_ARM_VFP_FLOAT-wh.patch4 Subject: [PATCH] arch/arm/mcount-support.c: define EF_ARM_VFP_FLOAT when not
11 arch/arm/mcount-support.c | 4 ++++
14 diff --git a/arch/arm/mcount-support.c b/arch/arm/mcount-support.c
16 --- a/arch/arm/mcount-support.c
17 +++ b/arch/arm/mcount-support.c
/OK3568_Linux_fs/kernel/arch/sparc/lib/
H A Dmcount.S22 .globl mcount symbol
23 .type mcount,#function
25 mcount: label
70 .size mcount,.-mcount
H A DMakefile52 lib-$(CONFIG_SPARC64) += mcount.o ipcsum.o xor.o hweight.o ffs.o
/OK3568_Linux_fs/kernel/net/dsa/
H A Dmaster.c150 int mcount = 0, count, i; in dsa_master_get_strings() local
160 mcount = phy_ethtool_get_sset_count(dev->phydev); in dsa_master_get_strings()
161 if (mcount < 0) in dsa_master_get_strings()
162 mcount = 0; in dsa_master_get_strings()
166 mcount = ops->get_sset_count(dev, stringset); in dsa_master_get_strings()
167 if (mcount < 0) in dsa_master_get_strings()
168 mcount = 0; in dsa_master_get_strings()
173 ndata = data + mcount * len; in dsa_master_get_strings()
/OK3568_Linux_fs/kernel/arch/um/kernel/
H A Dgprof_syms.c8 extern void mcount(void);
9 EXPORT_SYMBOL(mcount);
/OK3568_Linux_fs/kernel/arch/parisc/include/asm/
H A Dftrace.h6 extern void mcount(void);
8 #define MCOUNT_ADDR ((unsigned long)mcount)
/OK3568_Linux_fs/kernel/arch/ia64/include/asm/
H A Dftrace.h10 #define mcount _mcount macro
13 #define MCOUNT_ADDR (((struct fnptr *)mcount)->ip)
/OK3568_Linux_fs/kernel/arch/sh/include/asm/
H A Dftrace.h11 extern void mcount(void);
13 #define MCOUNT_ADDR ((unsigned long)(mcount))
/OK3568_Linux_fs/u-boot/drivers/mtd/onenand/
H A Dsamsung.c278 int i, mcount, scount; in s3c_onenand_command() local
309 mcount = mtd->writesize >> 2; in s3c_onenand_command()
315 for (i = 0; i < mcount; i++) in s3c_onenand_command()
322 for (i = 0; i < mcount; i++) in s3c_onenand_command()
334 for (i = 0; i < mcount; i++) in s3c_onenand_command()
342 for (i = 0; i < mcount; i++) in s3c_onenand_command()
/OK3568_Linux_fs/kernel/tools/objtool/
H A Dbuiltin-check.c22 validate_dup, vmlinux, mcount, noinstr, sls, unret, rethunk; variable
42 OPT_BOOLEAN('M', "mcount", &mcount, "generate __mcount_loc"),
H A Dbuiltin.h12 validate_dup, vmlinux, mcount, noinstr, sls, unret, rethunk;
/OK3568_Linux_fs/kernel/arch/sh/lib/
H A Dmcount.S82 .globl mcount symbol
83 .type mcount,@function
85 mcount: label
H A DMakefile31 lib-$(CONFIG_MCOUNT) += mcount.o
/OK3568_Linux_fs/kernel/arch/riscv/kernel/
H A DMakefile44 obj-$(CONFIG_FUNCTION_TRACER) += mcount.o ftrace.o
45 obj-$(CONFIG_DYNAMIC_FTRACE) += mcount-dyn.o
/OK3568_Linux_fs/kernel/drivers/mtd/nand/onenand/
H A Donenand_samsung.c383 int i, mcount, scount; in s3c_onenand_command() local
416 mcount = mtd->writesize >> 2; in s3c_onenand_command()
422 for (i = 0; i < mcount; i++) in s3c_onenand_command()
429 for (i = 0; i < mcount; i++) in s3c_onenand_command()
441 for (i = 0; i < mcount; i++) in s3c_onenand_command()
449 for (i = 0; i < mcount; i++) in s3c_onenand_command()
/OK3568_Linux_fs/kernel/arch/xtensa/include/asm/
H A Dftrace.h36 #define mcount _mcount macro
/OK3568_Linux_fs/kernel/arch/csky/abiv2/
H A DMakefile12 obj-$(CONFIG_FUNCTION_TRACER) += mcount.o
/OK3568_Linux_fs/kernel/arch/riscv/include/asm/
H A Dftrace.h23 #define MCOUNT_NAME mcount
/OK3568_Linux_fs/kernel/arch/powerpc/kernel/trace/
H A Dftrace_64.S25 _GLOBAL(mcount)
H A Dftrace_32.S13 _GLOBAL(mcount)
/OK3568_Linux_fs/kernel/arch/mips/include/asm/
H A Dftrace.h20 #define mcount _mcount macro
/OK3568_Linux_fs/kernel/arch/microblaze/kernel/
H A DMakefile27 obj-$(CONFIG_FUNCTION_TRACER) += ftrace.o mcount.o
/OK3568_Linux_fs/kernel/arch/xtensa/kernel/
H A DMakefile15 obj-$(CONFIG_FUNCTION_TRACER) += mcount.o
/OK3568_Linux_fs/kernel/arch/sh/kernel/
H A Dsh_ksyms_32.c117 DECLARE_EXPORT(mcount);

123