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

/freebsd-12-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-12-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-12-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
61 _MCOUNT_DECL(uintfptr_t frompc, uintfptr_t selfpc) /* _mcount; may be static, inline, etc */ argument
93 MCOUNT_DETRAMP(frompc);
97 * When we are called from an exception handler, frompc may be
98 * a user address. Convert such frompc's to some representation
102 frompc = MCOUNT_FROMPC_USER(frompc);
109 if (frompc < p->lowpc || frompc
[all...]
/freebsd-12-stable/sys/sparc64/include/
H A Dprofile.h70 void mcount(uintfptr_t frompc, uintfptr_t selfpc);
83 uintfptr_t frompc, selfpc; \
93 * frompc = pc pushed by call to mcount's caller. \
95 __asm("add %%i7, 8, %0" : "=r" (frompc)); \
96 __mcount(frompc, selfpc); \
/freebsd-12-stable/sys/mips/include/
H A Dprofile.h141 void mcount(uintfptr_t frompc, uintfptr_t selfpc);
167 void _mcount(uintfptr_t frompc, uintfptr_t selfpc);
/freebsd-12-stable/sys/riscv/include/
H A Dprofile.h69 void mcount(uintfptr_t frompc, uintfptr_t selfpc);
/freebsd-12-stable/sys/arm/include/
H A Dprofile.h126 void mcount(uintfptr_t frompc, uintfptr_t selfpc);
/freebsd-12-stable/sys/arm64/include/
H A Dprofile.h69 void mcount(uintfptr_t frompc, uintfptr_t selfpc);
/freebsd-12-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-12-stable/contrib/gcc/config/i386/
H A Dgmon-sol2.c204 char *frompc; local
224 frompc = s_lowpc + (fromindex * HASHFRACTION * sizeof(*froms));
228 "[mcleanup] frompc 0x%x selfpc 0x%x count %d\n" ,
229 frompc , tos[toindex].selfpc , tos[toindex].count );
231 rawarc.raw_frompc = (unsigned long) frompc;
/freebsd-12-stable/contrib/gcc/config/sparc/
H A Dgmon-sol2.c176 char *frompc; local
219 frompc = s_lowpc + (fromindex * HASHFRACTION * sizeof(*froms));
223 "[mcleanup] frompc 0x%x selfpc 0x%x count %d\n" ,
224 frompc , tos[toindex].selfpc , tos[toindex].count );
226 rawarc.raw_frompc = (unsigned long) frompc;
/freebsd-12-stable/sys/powerpc/include/
H A Dprofile.h223 void __mcount(uintfptr_t frompc, uintfptr_t selfpc);
/freebsd-12-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 206 milliseconds