HomeSort by: relevance | last modified time | path
    Searched refs:mcount (Results 1 - 25 of 30) sorted by relevancy

1 2

  /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
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
1631 size_t mcount; local
    [all...]
quit.c 267 int mcount, p, modify, autohold, anystat, holdbit, nohold; local
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/external/bsd/less/dist/
pattern.c 369 int mcount = pcre_exec(pattern, NULL, line, line_len, local
371 matched = (mcount > 0);
373 if (ecount > mcount) ecount = mcount;
392 int mcount = pcre2_match(pattern, (PCRE2_SPTR)line, line_len, local
394 matched = (mcount > 0);
400 if (ecount > mcount) ecount = mcount;
  /src/games/rogue/
use.c 438 short mcount = 0; local
454 mcount++;
458 if (mcount == 0) {
460 } else if (mcount == 1) {
  /src/usr.bin/grep/
grep.c 108 unsigned long long mcount; /* count for -m */ variable
516 mcount = strtoull(optarg, &ep, 10);
517 if (((errno == ERANGE) && (mcount == ULLONG_MAX)) ||
518 ((errno == EINVAL) && (mcount == 0)))
grep.h 122 extern unsigned long long Aflag, Bflag, mcount;
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
632 camentry(sc, mcount, CLLADDR(ifp->if_sadl));
633 mcount++;
642 if (mcount == MAXCAM) {
661 camentry(sc, mcount, enm->enm_addrlo);
662 mcount++;
  /src/external/gpl3/gcc.old/dist/libgcc/config/sh/
crt1.S 145 ! Therefore, only mcount itself may not have the extra header.
170 # stop mcount counting
284 ! Now we need to call mcount with the following convention
312 ! only call mcount if profiling is enabled
317 ! call mcount
  /src/external/bsd/ntp/dist/ntpd/
refclock_wwv.c 1401 static int mcount; /* longest run end time */ local
1477 mcount = scount;
1513 mcount = scount;
1519 mcount = scount;
1546 up->freq += (dtemp / 2.) / ((mcount - zcount) *
1577 up->avgint, maxrun, mcount - zcount, dtemp,
1591 zcount = mcount;
  /src/sys/arch/mips/mips/
spl.S 114 STATIC_XLEAF(_splsw_splx_noprof) # does not get mcount hooks
  /src/external/gpl3/gcc.old/dist/gcc/
cfgloop.cc 610 profile_count mcount = profile_count::zero (), tcount = profile_count::zero ();
614 if (e->count ()> mcount)
617 mcount = e->count();
623 || (tcount - mcount).apply_scale (HEAVY_EDGE_RATIO, 1) > tcount)
609 profile_count mcount = profile_count::zero (), tcount = profile_count::zero (); local

Completed in 57 milliseconds

1 2