/src/sys/arch/ia64/include/ |
profile.h | 31 #define _MCOUNT_DECL void mcount 32 #define _MCOUNT_FUNC mcount
|
/src/sys/arch/alpha/include/ |
profile.h | 44 #define _MCOUNT_DECL void mcount 45 #define _MCOUNT_FUNC mcount
|
/src/lib/libc/gmon/ |
Makefile.inc | 9 SRCS+= gmon.c mcount.c 15 # and mcount.c causes warnings from as(1). 16 # mcount.c should be fixed and this test removed. 18 COPTS.mcount.c+=${${ACTIVE_CXX} == "gcc":? -Wa,--no-warn :} 23 # mcount.c(285): warning: function '_mcount' implicitly declared to return int 26 # _mcount used( common/lib/libc/gmon/mcount.c(285) ), but not defined 29 LINTFLAGS.mcount.c+= -X 215 35 COPTS.mcount.c+=${${ACTIVE_CXX} == "gcc":? -Wno-error=frame-address :} 37 COPTS.mcount.c+=${${ACTIVE_CC} == "clang":? -Wno-error=frame-address :} 40 # mcount and gmon cannot be compiled with profilin [all...] |
/src/sys/arch/hppa/include/ |
profile.h | 37 #define _MCOUNT_FUNC 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/sh3/include/ |
profile.h | 32 #define _MCOUNT_DECL static void mcount 35 #define MCOUNT __asm (" \n\
|
/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/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 \
|
asm.h | 152 #define MCOUNT_ASM call _C_LABEL(mcount) 168 pushl %ebp; movl %esp,%ebp; call PIC_PLT(mcount); popl %ebp
|
/src/lib/libc/compat/arch/i386/sys/ |
compat___sigreturn14.S | 53 #define MCOUNT_SYMBOL mcount
|
compat_sigreturn.S | 53 #define MCOUNT_SYMBOL mcount
|
/src/usr.bin/mail/ |
thread.c | 666 size_t mcount; local in function:flattencmd_core 674 mcount = 1; 676 mcount++; 683 if (mcount == 1) 686 marray = csalloc(mcount, sizeof(*marray)); 688 for (i = 0; i < mcount; i++) { 693 for (i = 1; i < mcount; i++) { 781 link_array(struct key_sort_s *marray, size_t mcount) 786 for (i = 0; i < mcount; i++) { 823 thread_array(struct key_sort_s *marray, size_t mcount, int cutit 940 size_t mcount, i; local in function:thread_on_reference 1631 size_t mcount; local in function:thread_current_on [all...] |
quit.c | 267 int mcount, p, modify, autohold, anystat, holdbit, nohold; local in function:quit 427 mcount = c; 523 if (mcount == 1) 526 (void)printf("Saved %d messages in mbox\n", 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/games/rogue/ |
use.c | 438 short mcount = 0; local in function:hold_monster 454 mcount++; 458 if (mcount == 0) { 460 } else if (mcount == 1) {
|
/src/usr.bin/grep/ |
grep.h | 122 extern unsigned long long Aflag, Bflag, mcount;
|
grep.c | 108 unsigned long long mcount; /* count for -m */ variable in typeref:typename:unsigned long long 516 mcount = strtoull(optarg, &ep, 10); 517 if (((errno == ERANGE) && (mcount == ULLONG_MAX)) || 518 ((errno == EINVAL) && (mcount == 0)))
|
util.c | 196 if (mflag && (mcount <= 0)) 250 mcount -= t; 251 if (mcount <= 0)
|
/src/sys/arch/sparc/include/ |
asm.h | 136 .text; save %sp,-CC64FSZ,%sp; sethi %hi(1b),%o0; call mcount; \ 141 .text; save %sp,-96,%sp; sethi %hi(1b),%o0; call mcount; \
|
/src/sys/arch/newsmips/apbus/ |
if_sn.c | 625 int mcount = 0; local in function:camprogram 632 camentry(sc, mcount, CLLADDR(ifp->if_sadl)); 633 mcount++; 642 if (mcount == MAXCAM) { 661 camentry(sc, mcount, enm->enm_addrlo); 662 mcount++;
|
/src/sys/arch/mips/mips/ |
spl.S | 114 STATIC_XLEAF(_splsw_splx_noprof) # does not get mcount hooks
|
/src/share/mk/ |
bsd.own.mk | 969 # XXX GCC 4 outputs mcount() calling sequences that try to load values
|