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

/freebsd-9.3-release/sys/amd64/include/
H A Dprofile.h112 static void _mcount(uintfptr_t frompc, uintfptr_t selfpc) __used; \
152 uintfptr_t selfpc, frompc; \
161 * frompc = pc pushed by call to mcount's caller. \
166 __asm("movq (%%rbp),%0" : "=r" (frompc)); \
167 frompc = ((uintfptr_t *)frompc)[1]; \
168 _mcount(frompc, selfpc); \
187 void mcount(uintfptr_t frompc, uintfptr_t selfpc);
/freebsd-9.3-release/sys/i386/include/
H A Dprofile.h118 uintfptr_t selfpc, frompc, ecx; \
135 * frompc = pc pushed by call to mcount's caller. \
140 __asm("movl (%%ebp),%0" : "=r" (frompc)); \
141 frompc = ((uintfptr_t *)frompc)[1]; \
142 _mcount(frompc, selfpc); \
161 void mcount(uintfptr_t frompc, uintfptr_t selfpc);
/freebsd-9.3-release/sys/sparc64/include/
H A Dprofile.h68 void mcount(uintfptr_t frompc, uintfptr_t selfpc);
81 uintfptr_t frompc, selfpc; \
91 * frompc = pc pushed by call to mcount's caller. \
93 __asm("add %%i7, 8, %0" : "=r" (frompc)); \
94 __mcount(frompc, selfpc); \
/freebsd-9.3-release/sys/libkern/
H A Dmcount.c52 * program's call graph edges. frompc and selfpc are the return
56 * both frompcindex and frompc. Any reasonable, modern compiler will
59 _MCOUNT_DECL(frompc, selfpc) /* _mcount; may be static, inline, etc */
60 uintfptr_t frompc, selfpc;
91 * When we are called from an exception handler, frompc may be
92 * a user address. Convert such frompc's to some representation
95 frompc = MCOUNT_FROMPC_USER(frompc);
98 frompci = frompc - p->lowpc;
106 * against `frompc'
[all...]
/freebsd-9.3-release/sys/mips/include/
H A Dprofile.h138 void mcount(uintfptr_t frompc, uintfptr_t selfpc);
164 void _mcount(uintfptr_t frompc, uintfptr_t selfpc);
/freebsd-9.3-release/sys/arm/include/
H A Dprofile.h119 void mcount(uintfptr_t frompc, uintfptr_t selfpc);
/freebsd-9.3-release/lib/libc/gmon/
H A Dgmon.c127 u_long frompc; local
195 frompc = p->lowpc;
196 frompc += fromindex * p->hashfraction * sizeof(*p->froms);
201 "[mcleanup2] frompc 0x%lx selfpc 0x%lx count %lu\n" ,
202 frompc, p->tos[toindex].selfpc,
206 rawarc.raw_frompc = frompc;
H A Dmcount.c58 * program's call graph edges. frompc and selfpc are the return
62 * both frompcindex and frompc. Any reasonable, modern compiler will
66 _MCOUNT_DECL(uintfptr_t frompc, uintfptr_t selfpc) argument
95 frompci = frompc - p->lowpc;
118 * clock was last looked at to a counter for frompc. This
119 * solidifies the count for the function containing frompc and
162 * When we are called from an exception handler, frompc is faked
179 * check that frompc is a reasonable pc value.
/freebsd-9.3-release/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-9.3-release/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-9.3-release/sys/powerpc/include/
H A Dprofile.h209 void __mcount(uintfptr_t frompc, uintfptr_t selfpc);
/freebsd-9.3-release/usr.sbin/kgmon/
H A Dkgmon.c355 u_long frompc; local
445 frompc = (u_long)kvp->gpm.lowpc +
450 warnx("[mcleanup] frompc 0x%lx selfpc 0x%lx "
451 "count %ld", frompc, tos[toindex].selfpc,
453 rawarc.raw_frompc = frompc;

Completed in 150 milliseconds