Lines Matching refs:pc
277 fasttrap_return_common(struct regs *rp, uintptr_t pc, pid_t pid, in fasttrap_return_common() argument
288 bucket = &fasttrap_tpoints.fth_table[FASTTRAP_TPOINTS_INDEX(pid, pc)]; in fasttrap_return_common()
291 if (pid == tp->ftt_pid && pc == tp->ftt_pc && in fasttrap_return_common()
391 dtrace_probe(probe->ftp_id, pc - probe->ftp_faddr, in fasttrap_return_common()
401 dtrace_probe(probe->ftp_id, pc - probe->ftp_faddr, in fasttrap_return_common()
418 uintptr_t pc = rp->r_pc; in fasttrap_pid_probe() local
420 uintptr_t orig_pc = pc; in fasttrap_pid_probe()
434 fasttrap_sigtrap(p, curthread, pc); in fasttrap_pid_probe()
459 bucket = &fasttrap_tpoints.fth_table[FASTTRAP_TPOINTS_INDEX(pid, pc)]; in fasttrap_pid_probe()
465 if (pid == tp->ftt_pid && pc == tp->ftt_pc && in fasttrap_pid_probe()
527 pc = rp->r_npc; in fasttrap_pid_probe()
528 npc = pc + 4; in fasttrap_pid_probe()
560 pc = rp->r_g7 + FASTTRAP_OFF_SAVE; in fasttrap_pid_probe()
604 pc = rp->r_g7 + FASTTRAP_OFF_RESTORE; in fasttrap_pid_probe()
637 pc = rp->r_g7 + FASTTRAP_OFF_RETURN; in fasttrap_pid_probe()
658 pc = rp->r_npc; in fasttrap_pid_probe()
659 npc = pc + 4; in fasttrap_pid_probe()
668 pc = rp->r_npc; in fasttrap_pid_probe()
669 npc = pc + 4; in fasttrap_pid_probe()
726 pc = rp->r_npc; in fasttrap_pid_probe()
733 pc = rp->r_npc + 4; in fasttrap_pid_probe()
734 npc = pc + 4; in fasttrap_pid_probe()
736 pc = rp->r_npc; in fasttrap_pid_probe()
737 npc = pc + 4; in fasttrap_pid_probe()
800 pc = rp->r_npc; in fasttrap_pid_probe()
807 pc = rp->r_npc + 4; in fasttrap_pid_probe()
808 npc = pc + 4; in fasttrap_pid_probe()
810 pc = rp->r_npc; in fasttrap_pid_probe()
811 npc = pc + 4; in fasttrap_pid_probe()
853 pc = rp->r_npc; in fasttrap_pid_probe()
860 pc = rp->r_npc + 4; in fasttrap_pid_probe()
861 npc = pc + 4; in fasttrap_pid_probe()
863 pc = rp->r_npc; in fasttrap_pid_probe()
864 npc = pc + 4; in fasttrap_pid_probe()
879 pc = tp->ftt_dest; in fasttrap_pid_probe()
882 pc = rp->r_npc; in fasttrap_pid_probe()
889 pc = rp->r_npc; in fasttrap_pid_probe()
890 npc = pc + 4; in fasttrap_pid_probe()
898 pc = rp->r_npc; in fasttrap_pid_probe()
903 pc = rp->r_npc; in fasttrap_pid_probe()
952 fasttrap_sigtrap(curproc, curthread, pc); in fasttrap_pid_probe()
956 curthread->t_dtrace_pc = pc; in fasttrap_pid_probe()
960 pc = curthread->t_dtrace_scrpc; in fasttrap_pid_probe()
978 ASSERT(pc != rp->r_g7 + 4); in fasttrap_pid_probe()
979 ASSERT(pc != rp->r_g7 + 8); in fasttrap_pid_probe()
1006 ASSERT(pc != 0); in fasttrap_pid_probe()
1007 rp->r_pc = pc; in fasttrap_pid_probe()
1018 uintptr_t pc = curthread->t_dtrace_pc; in fasttrap_return_probe() local
1043 rp->r_pc = pc; in fasttrap_return_probe()
1047 fasttrap_return_common(rp, pc, pid, 0); in fasttrap_return_probe()
1083 fasttrap_tracepoint_init(proc_t *p, fasttrap_tracepoint_t *tp, uintptr_t pc, in fasttrap_tracepoint_init() argument
1095 if (uread(p, &instr, 4, pc) != 0) in fasttrap_tracepoint_init()
1117 tp->ftt_dest = pc + (intptr_t)disp; in fasttrap_tracepoint_init()
1167 tp->ftt_dest = pc + (intptr_t)disp; in fasttrap_tracepoint_init()
1185 tp->ftt_dest = pc + (intptr_t)disp; in fasttrap_tracepoint_init()
1211 tp->ftt_dest = pc + (intptr_t)disp; in fasttrap_tracepoint_init()
1234 tp->ftt_dest = pc + (intptr_t)disp; in fasttrap_tracepoint_init()
1252 tp->ftt_dest = pc + (intptr_t)disp; in fasttrap_tracepoint_init()
1356 (uread(p, &instr, 4, pc - sizeof (instr)) != 0 || in fasttrap_tracepoint_init()