Lines Matching defs:pid

154 		dt_dprintf("pid %d: spurious breakpoint wakeup for %lx\n",
159 dt_dprintf("pid %d: hit breakpoint at %lx (%lu)\n",
263 dt_dprintf("pid %d: breakpoint at %s()\n", (int)dpr->dpr_pid, fname);
274 dt_dprintf("pid %d: failed to get %s event message: %s\n",
279 dt_dprintf("pid %d: rtld event %s type=%d state %d\n",
311 dt_dprintf("pid %d: failed to get event address for %s: %s\n",
317 dt_dprintf("pid %d: event %s has unexpected type %d\n",
353 dt_dprintf("pid %d: failed to enable rtld events: %s\n",
365 dt_dprintf("pid %d: failed to find a.out`main: %s\n",
458 * PCWSTOP directive directly to the underlying /proc/<pid>/ctl file. If the
471 int pid = dpr->dpr_pid;
528 dt_dprintf("pid %d: failed to set running: %s\n",
539 * a PCWSTOP directive directly to the underlying /proc/<pid>/ctl file.
560 dt_dprintf("pid %d: proc stopped showing %d/%d\n",
561 pid, psp->pr_why, psp->pr_what);
606 dt_dprintf("pid %d: proc lost: %s\n",
607 pid, strerror(errno));
614 dt_dprintf("pid %d: proc died\n", pid);
621 dt_dprintf("pid %d: failed to set running: %s\n",
674 pid_t pid = Pstatus(P)->pr_pid;
675 dt_proc_t *dpr, **dpp = &dph->dph_hash[pid & (dph->dph_hashlen - 1)];
678 if (dpr->dpr_pid == pid)
688 *dpp = dpr->dpr_hash; /* remove from pid hash chain */
709 dt_dprintf("abandoning pid %d\n", (int)dpr->dpr_pid);
712 dt_dprintf("killing pid %d\n", (int)dpr->dpr_pid);
715 dt_dprintf("releasing pid %d\n", (int)dpr->dpr_pid);
834 int pid = dpr->dpr_pid;
838 "failed to control pid %d: process exec'd "
839 "set-id or unobservable program\n", pid);
842 "failed to control pid %d: process died "
843 "from signal %d\n", pid, WTERMSIG(stat));
846 "failed to control pid %d: process exited "
847 "with status %d\n", pid, WEXITSTATUS(stat));
896 dt_dprintf("created pid %d\n", (int)dpr->dpr_pid);
903 dt_proc_grab(dtrace_hdl_t *dtp, pid_t pid, int flags, int nomonitor)
906 uint_t h = pid & (dph->dph_hashlen - 1);
911 * Search the hash table for the pid. If it is already grabbed or
916 if (dpr->dpr_pid == pid && !dpr->dpr_stale) {
924 dt_dprintf("upgrading pid %d\n", (int)pid);
931 dt_dprintf("grabbed pid %d (cached)\n", (int)pid);
945 if ((dpr->dpr_proc = Pgrab(pid, flags, &err)) == NULL) {
947 "failed to grab pid %d: %s\n", (int)pid, Pgrab_error(err)));
951 dpr->dpr_pid = pid;
990 dt_dprintf("grabbed pid %d\n", (int)pid);
1120 idp->di_id = Pstatus(P)->pr_pid; /* $target = created pid */
1126 dtrace_proc_grab(dtrace_hdl_t *dtp, pid_t pid, int flags)
1129 struct ps_prochandle *P = dt_proc_grab(dtp, pid, flags, 0);
1132 idp->di_id = pid; /* $target = grabbed pid */