Home
last modified time | relevance | path

Searched refs:selfpc (Results 1 – 15 of 15) sorted by relevance

/freebsd-12-stable/sys/libkern/
Dmcount.c61 _MCOUNT_DECL(uintfptr_t frompc, uintfptr_t selfpc) /* _mcount; may be static, inline, etc */ in _MCOUNT_DECL() argument
94 MCOUNT_DETRAMP(selfpc); in _MCOUNT_DECL()
157 frompc = MCOUNT_FROMPC_INTR(selfpc); in _MCOUNT_DECL()
183 top->selfpc = selfpc; in _MCOUNT_DECL()
189 if (top->selfpc == selfpc) { in _MCOUNT_DECL()
215 top->selfpc = selfpc; in _MCOUNT_DECL()
226 if (top->selfpc == selfpc) { in _MCOUNT_DECL()
264 mexitcount(uintfptr_t selfpc) in mexitcount() argument
271 MCOUNT_DETRAMP(selfpc); in mexitcount()
273 selfpcdiff = selfpc - (uintfptr_t)p->lowpc; in mexitcount()
/freebsd-12-stable/lib/libc/gmon/
Dmcount.c68 _MCOUNT_DECL(uintfptr_t frompc, uintfptr_t selfpc) in _MCOUNT_DECL() argument
171 if ((uintfptr_t)selfpc >= (uintfptr_t)btrap in _MCOUNT_DECL()
172 && (uintfptr_t)selfpc < (uintfptr_t)eintr) { in _MCOUNT_DECL()
173 if ((uintfptr_t)selfpc >= (uintfptr_t)bintr) in _MCOUNT_DECL()
201 top->selfpc = selfpc; in _MCOUNT_DECL()
207 if (top->selfpc == selfpc) { in _MCOUNT_DECL()
233 top->selfpc = selfpc; in _MCOUNT_DECL()
244 if (top->selfpc == selfpc) { in _MCOUNT_DECL()
282 mexitcount(selfpc) in mexitcount() argument
283 uintfptr_t selfpc; in mexitcount()
[all …]
Dgmon.c196 frompc, p->tos[toindex].selfpc, in _mcleanup()
201 rawarc.raw_selfpc = p->tos[toindex].selfpc; in _mcleanup()
/freebsd-12-stable/contrib/gcc/config/i386/
Dgmon-sol2.c86 char *selfpc; member
229 frompc , tos[toindex].selfpc , tos[toindex].count ); in _mcleanup()
232 rawarc.raw_selfpc = (unsigned long) tos[toindex].selfpc; in _mcleanup()
248 register char *selfpc; in internal_mcount() local
262 selfpc = (void *) __builtin_return_address (0); in internal_mcount()
308 top->selfpc = selfpc; in internal_mcount()
314 if (top->selfpc == selfpc) { in internal_mcount()
340 top->selfpc = selfpc; in internal_mcount()
351 if (top->selfpc == selfpc) { in internal_mcount()
/freebsd-12-stable/contrib/gcc/config/sparc/
Dgmon-sol2.c55 char *selfpc; member
224 frompc , tos[toindex].selfpc , tos[toindex].count ); in _mcleanup()
227 rawarc.raw_selfpc = (unsigned long) tos[toindex].selfpc; in _mcleanup()
279 static void internal_mcount(char *selfpc, unsigned short *frompcindex) in internal_mcount() argument
333 top->selfpc = selfpc; in internal_mcount()
339 if (top->selfpc == selfpc) { in internal_mcount()
365 top->selfpc = selfpc; in internal_mcount()
376 if (top->selfpc == selfpc) { in internal_mcount()
/freebsd-12-stable/sys/amd64/include/
Dprofile.h110 static void _mcount(uintfptr_t frompc, uintfptr_t selfpc) __used; \
150 uintfptr_t selfpc, frompc; \
157 __asm("movq 8(%%rbp),%0" : "=r" (selfpc)); \
166 _mcount(frompc, selfpc); \
185 void mcount(uintfptr_t frompc, uintfptr_t selfpc);
/freebsd-12-stable/sys/sparc64/include/
Dprofile.h70 void mcount(uintfptr_t frompc, uintfptr_t selfpc);
83 uintfptr_t frompc, selfpc; \
91 __asm("add %%o7, 8, %0" : "=r" (selfpc)); \
96 __mcount(frompc, selfpc); \
/freebsd-12-stable/sys/i386/include/
Dprofile.h129 uintfptr_t selfpc, frompc, ecx; \
144 __asm("movl 4(%%ebp),%0" : "=r" (selfpc)); \
153 _mcount(frompc, selfpc); \
172 void mcount(uintfptr_t frompc, uintfptr_t selfpc);
/freebsd-12-stable/sys/mips/include/
Dprofile.h141 void mcount(uintfptr_t frompc, uintfptr_t selfpc);
167 void _mcount(uintfptr_t frompc, uintfptr_t selfpc);
179 void mexitcount(uintfptr_t selfpc);
/freebsd-12-stable/sys/sys/
Dgmon.h132 u_long selfpc; member
230 void mexitcount(uintfptr_t selfpc);
/freebsd-12-stable/sys/arm/include/
Dprofile.h126 void mcount(uintfptr_t frompc, uintfptr_t selfpc);
/freebsd-12-stable/sys/riscv/include/
Dprofile.h69 void mcount(uintfptr_t frompc, uintfptr_t selfpc);
/freebsd-12-stable/sys/arm64/include/
Dprofile.h69 void mcount(uintfptr_t frompc, uintfptr_t selfpc);
/freebsd-12-stable/sys/powerpc/include/
Dprofile.h223 void __mcount(uintfptr_t frompc, uintfptr_t selfpc);
/freebsd-12-stable/usr.sbin/kgmon/
Dkgmon.c447 "count %ld", frompc, tos[toindex].selfpc, in dumpstate()
450 rawarc.raw_selfpc = (u_long)tos[toindex].selfpc; in dumpstate()