| /freebsd-12.1/sys/powerpc/powerpc/ |
| H A D | stack_machdep.c | 56 vm_offset_t callpc; in stack_capture() local 67 callpc = *(vm_offset_t *)(frame + 16) - 4; in stack_capture() 69 callpc = *(vm_offset_t *)(frame + 4) - 4; in stack_capture() 71 if ((callpc & 3) || (callpc < 0x100)) in stack_capture() 80 if (callpc + CALLOFFSET == (vm_offset_t) &trapexit || in stack_capture() 81 callpc + CALLOFFSET == (vm_offset_t) &asttrapexit) in stack_capture() 84 if (stack_put(st, callpc) == -1) in stack_capture()
|
| /freebsd-12.1/sys/sparc64/sparc64/ |
| H A D | stack_machdep.c | 49 vm_offset_t callpc; in stack_capture() local 57 callpc = fp->fr_pc; in stack_capture() 58 if (!INKERNEL(callpc)) in stack_capture() 61 if ((callpc > (uint64_t)tl_trap_begin && in stack_capture() 62 callpc < (uint64_t)tl_trap_end) || in stack_capture() 63 (callpc > (uint64_t)tl_text_begin && in stack_capture() 64 callpc < (uint64_t)tl_text_end)) in stack_capture() 66 if (stack_put(st, callpc) == -1) in stack_capture()
|
| /freebsd-12.1/sys/cddl/dev/dtrace/powerpc/ |
| H A D | dtrace_isa.c | 73 vm_offset_t callpc; in dtrace_sp_inkernel() local 79 callpc = *(vm_offset_t *)(sp + RETURN_OFFSET64); in dtrace_sp_inkernel() 81 callpc = *(vm_offset_t *)(sp + RETURN_OFFSET); in dtrace_sp_inkernel() 83 if ((callpc & 3) || (callpc < 0x100)) in dtrace_sp_inkernel() 103 vm_offset_t callpc; in dtrace_next_sp_pc() local 109 callpc = *(vm_offset_t *)(sp + RETURN_OFFSET); in dtrace_next_sp_pc() 131 *pc = callpc; in dtrace_next_sp_pc() 140 vm_offset_t callpc; in dtrace_getpcstack() local 158 dtrace_next_sp_pc(osp, &sp, &callpc); in dtrace_getpcstack() 167 pcstack[depth++] = callpc; in dtrace_getpcstack() [all …]
|
| /freebsd-12.1/contrib/compiler-rt/lib/tsan/go/ |
| H A D | tsan_go.cc | 166 void __tsan_read_pc(ThreadState *thr, void *addr, uptr callpc, uptr pc) { in __tsan_read_pc() argument 167 if (callpc != 0) in __tsan_read_pc() 168 FuncEntry(thr, callpc); in __tsan_read_pc() 170 if (callpc != 0) in __tsan_read_pc() 178 void __tsan_write_pc(ThreadState *thr, void *addr, uptr callpc, uptr pc) { in __tsan_write_pc() argument 179 if (callpc != 0) in __tsan_write_pc() 180 FuncEntry(thr, callpc); in __tsan_write_pc() 182 if (callpc != 0) in __tsan_write_pc()
|
| /freebsd-12.1/sys/x86/x86/ |
| H A D | stack_machdep.c | 80 vm_offset_t callpc; in stack_capture() local 89 callpc = frame->f_retaddr; in stack_capture() 90 if (!INKERNEL(callpc)) in stack_capture() 92 if (stack_put(st, callpc) == -1) in stack_capture()
|
| /freebsd-12.1/sys/i386/i386/ |
| H A D | db_trace.c | 244 db_print_stack_entry(name, narg, argnp, argp, callpc, frame) in db_print_stack_entry() argument 249 db_addr_t callpc; 266 db_printsym(callpc, DB_STGY_PROC); 586 db_addr_t callpc; in db_trace_self() local 591 callpc = (db_addr_t)db_get_value((int)&frame->f_retaddr, 4, false); in db_trace_self() 593 db_backtrace(curthread, NULL, frame, callpc, 0, -1); in db_trace_self()
|
| /freebsd-12.1/sys/amd64/amd64/ |
| H A D | db_trace.c | 138 db_print_stack_entry(const char *name, db_addr_t callpc, void *frame) in db_print_stack_entry() argument 142 db_printsym(callpc, DB_STGY_PROC); in db_print_stack_entry() 379 db_addr_t callpc; in db_trace_self() local 384 callpc = (db_addr_t)db_get_value((long)&frame->f_retaddr, 8, FALSE); in db_trace_self() 386 db_backtrace(curthread, NULL, frame, callpc, 0, -1); in db_trace_self()
|
| /freebsd-12.1/sys/cddl/dev/dtrace/amd64/ |
| H A D | dtrace_isa.c | 62 vm_offset_t callpc; in dtrace_getpcstack() local 77 callpc = frame->f_retaddr; in dtrace_getpcstack() 79 if (!INKERNEL(callpc)) in dtrace_getpcstack() 89 pcstack[depth++] = callpc; in dtrace_getpcstack()
|
| /freebsd-12.1/sys/cddl/dev/dtrace/i386/ |
| H A D | dtrace_isa.c | 64 vm_offset_t callpc; in dtrace_getpcstack() local 79 callpc = frame->f_retaddr; in dtrace_getpcstack() 81 if (!INKERNEL(callpc)) in dtrace_getpcstack() 91 pcstack[depth++] = callpc; in dtrace_getpcstack()
|
| /freebsd-12.1/sys/cddl/dev/dtrace/mips/ |
| H A D | dtrace_isa.c | 83 vm_offset_t callpc; in dtrace_getpcstack() local 106 callpc = pc; in dtrace_getpcstack() 115 pcstack[depth++] = callpc; in dtrace_getpcstack()
|
| /freebsd-12.1/contrib/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_interface_atomic.cc | 482 const uptr callpc = (uptr)__builtin_return_address(0); \ 486 ScopedAtomic sa(thr, callpc, a, mo, __func__); \
|