HomeSort by: relevance | last modified time | path
    Searched defs:MCOUNT (Results 1 - 13 of 13) sorted by relevancy

  /src/sys/arch/sh3/include/
profile.h 32 #define _MCOUNT_DECL static void mcount
35 #define MCOUNT __asm (" \n\
  /src/sys/arch/vax/include/
profile.h 39 * Note here: the second argument to __mcount() is pc when mcount
44 #define MCOUNT \
49 * Note that we assume splhigh() and splx() cannot call mcount()
  /src/sys/arch/m68k/include/
profile.h 39 #define MCOUNT_ENTRY "mcount"
43 #define MCOUNT \
44 extern void mcount(void) __asm(MCOUNT_ENTRY) \
46 void mcount(void) { \
55 * that the above definition of mcount uses, so we're forced
58 #define MCOUNT \
59 extern void mcount(void) __asm("mcount"); void mcount(void) { \
71 * functions on the HP, and we do not want to invoke mcount
    [all...]
  /src/sys/arch/powerpc/include/
profile.h 37 #define MCOUNT \
90 #define MCOUNT \
  /src/sys/arch/aarch64/include/
profile.h 34 #define _MCOUNT_DECL void mcount
37 * Cannot implement mcount in C as GCC will trash the ip register when it
46 #define MCOUNT \
55 * Preserve registers that are trashed during mcount \
63 * find the return address for mcount, \
64 * and the return address for mcount's caller. \
70 * selfpc = pc pushed by mcount call \
74 * Call the real mcount code \
76 __asm("bl " ___STRING(_C_LABEL(mcount))); \
78 * Restore registers that were trashed during mcount \
    [all...]
  /src/sys/arch/arm/include/
profile.h 36 * Cannot implement mcount in C as GCC will trash the ip register when it
45 #define MCOUNT \
53 * Preserve registers that are trashed during mcount \
60 * find the return address for mcount, \
61 * and the return address for mcount's caller. \
68 * selfpc = pc pushed by mcount call \
73 * Call the real mcount code \
77 * Restore registers that were trashed during mcount \
83 #define MCOUNT \
92 * Preserve registers that are trashed during mcount \
    [all...]
  /src/sys/arch/mips/include/
profile.h 69 #define MCOUNT \
102 #define MCOUNT \
  /src/sys/arch/sparc/include/
profile.h 48 #define _MCOUNT_ENTRY "mcount"
54 #define MCOUNT \
63 #define MCOUNT \
75 #define MCOUNT \
88 * Block interrupts during mcount so that those interrupts can also be
90 * SPARC, we just splhigh/splx as those do not recursively invoke mcount.
  /src/sys/arch/amd64/include/
profile.h 50 #define MCOUNT \
51 __weak_alias(mcount, __mcount) \
86 /* should be __cli() but this calls x86_lfence() which calls mcount */
101 /* can't call x86_lfence because it calls mcount() */
103 /* XXX can't call hypervisor_force_callback() because we're in mcount*/
  /src/sys/arch/i386/include/
profile.h 42 #define MCOUNT_COMPAT __weak_alias(mcount, __mcount)
44 #define MCOUNT_ENTRY "mcount"
54 #define MCOUNT \
56 extern void mcount(void) __asm(MCOUNT_ENTRY) \
59 mcount(void) \
69 * find the return address for mcount, \
70 * and the return address for mcount's caller. \
72 * selfpc = pc pushed by mcount call \
  /src/common/lib/libc/gmon/
mcount.c 1 /* $NetBSD: mcount.c,v 1.18 2024/02/23 13:32:28 christos Exp $ */
71 /* If building a standalone libkern, don't include mcount. */
77 static char sccsid[] = "@(#)mcount.c 8.1 (Berkeley) 6/4/93";
79 __RCSID("$NetBSD: mcount.c,v 1.18 2024/02/23 13:32:28 christos Exp $");
110 #undef MCOUNT
111 #define MCOUNT
115 * mcount is called on entry to each function compiled with the profiling
119 * taken care of by the MCOUNT definition in <machine/profile.h>.
277 #ifdef MCOUNT
279 * Actual definition of mcount function. Defined in <machine/profile.h>
    [all...]
  /src/sys/arch/ia64/include/
asm.h 45 * MCOUNT
48 #define MCOUNT \
55 #define MCOUNT /* nothing */
69 MCOUNT
87 MCOUNT
  /src/sys/arch/alpha/include/
asm.h 225 * MCOUNT
229 #define MCOUNT /* nothing */
231 #define MCOUNT \
281 MCOUNT
305 MCOUNT
345 MCOUNT
371 MCOUNT

Completed in 20 milliseconds