Searched refs:frompc (Results 1 - 11 of 11) sorted by relevance

/freebsd-13-stable/sys/amd64/include/
H A Dprofile.h110 static void _mcount(uintfptr_t frompc, uintfptr_t selfpc) __used; \
150 uintfptr_t selfpc, frompc; \
159 * frompc = pc pushed by call to mcount's caller. \
164 __asm("movq (%%rbp),%0" : "=r" (frompc)); \
165 frompc = ((uintfptr_t *)frompc)[1]; \
166 _mcount(frompc, selfpc); \
185 void mcount(uintfptr_t frompc, uintfptr_t selfpc);
/freebsd-13-stable/sys/i386/include/
H A Dprofile.h129 uintfptr_t selfpc, frompc, ecx; \
146 * frompc = pc pushed by call to mcount's caller. \
151 __asm("movl (%%ebp),%0" : "=r" (frompc)); \
152 frompc = ((uintfptr_t *)frompc)[1]; \
153 _mcount(frompc, selfpc); \
172 void mcount(uintfptr_t frompc, uintfptr_t selfpc);
/freebsd-13-stable/sys/libkern/
H A Dmcount.c54 * program's call graph edges. frompc and selfpc are the return
58 * both frompcindex and frompc. Any reasonable, modern compiler will
62 _MCOUNT_DECL(uintfptr_t frompc, uintfptr_t selfpc) argument
94 MCOUNT_DETRAMP(frompc);
98 * When we are called from an exception handler, frompc may be
99 * a user address. Convert such frompc's to some representation
103 frompc = MCOUNT_FROMPC_USER(frompc);
110 if (frompc < p->lowpc || frompc
[all...]
/freebsd-13-stable/sys/mips/include/
H A Dprofile.h134 void mcount(uintfptr_t frompc, uintfptr_t selfpc);
160 void _mcount(uintfptr_t frompc, uintfptr_t selfpc);
/freebsd-13-stable/sys/riscv/include/
H A Dprofile.h69 void mcount(uintfptr_t frompc, uintfptr_t selfpc);
/freebsd-13-stable/sys/arm/include/
H A Dprofile.h118 void mcount(uintfptr_t frompc, uintfptr_t selfpc);
/freebsd-13-stable/sys/arm64/include/
H A Dprofile.h69 void mcount(uintfptr_t frompc, uintfptr_t selfpc);
/freebsd-13-stable/lib/libc/gmon/
H A Dgmon.c121 u_long frompc; local
189 frompc = p->lowpc;
190 frompc += fromindex * p->hashfraction * sizeof(*p->froms);
195 "[mcleanup2] frompc 0x%lx selfpc 0x%lx count %lu\n" ,
196 frompc, p->tos[toindex].selfpc,
200 rawarc.raw_frompc = frompc;
H A Dmcount.c60 * program's call graph edges. frompc and selfpc are the return
64 * both frompcindex and frompc. Any reasonable, modern compiler will
68 _MCOUNT_DECL(uintfptr_t frompc, uintfptr_t selfpc) argument
97 frompci = frompc - p->lowpc;
120 * clock was last looked at to a counter for frompc. This
121 * solidifies the count for the function containing frompc and
164 * When we are called from an exception handler, frompc is faked
181 * check that frompc is a reasonable pc value.
/freebsd-13-stable/sys/powerpc/include/
H A Dprofile.h223 void __mcount(uintfptr_t frompc, uintfptr_t selfpc);
/freebsd-13-stable/usr.sbin/kgmon/
H A Dkgmon.c351 u_long frompc; local
441 frompc = (u_long)kvp->gpm.lowpc +
446 warnx("[mcleanup] frompc 0x%lx selfpc 0x%lx "
447 "count %ld", frompc, tos[toindex].selfpc,
449 rawarc.raw_frompc = frompc;

Completed in 129 milliseconds