Lines Matching refs:pid

166 pctx_capture(pid_t pid, void *arg, int verbose, pctx_errfn_t *errfn)
177 if ((pctx->Pr = Pgrab(pid, 0, &err)) == NULL) {
181 gettext("pid %d doesn't exist\n"), (int)pid);
185 gettext("pid %d is a zombie\n"), (int)pid);
189 gettext("pid %d: permission denied\n"), (int)pid);
193 gettext("pid %d is already being traced\n"),
194 (int)pid);
198 gettext("pid %d is a system process\n"), (int)pid);
206 "process, pid %d\n"), (int)pid);
209 pctx_error(pctx, fn, gettext("%s: pid %d\n"),
210 Pgrab_error(err), (int)pid);
219 gettext("can't stop-on-exit() pid %d\n"), (int)pid);
533 pid_t pid = Pstatus(pctx->Pr)->pr_pid;
554 gettext("%d: lwp discovery failed\n"), (int)pid);
578 gettext("%d: Psetrun\n"), (int)pid);
622 gettext("%d: won't stop\n"), (int)pid);
638 "be tracked\n"), (int)pid);
646 (int)pid);
653 (int)pid, pstate);
684 pid, lwpid, pctx->uarg);
686 pid, lwpid, pctx->uarg);
693 pctx->exit(pctx, pid, lwpid,
704 "warning - pid %d sysentry(%d)\n",
705 (int)pid, pstatus->pr_lwp.pr_what);
734 if (pctx->exec(pctx, pid, lwpid,
738 pid, 1, pctx->uarg) != 0)
747 if (pctx->init_lwp(pctx, pid, lwpid,
751 pid, lwpid, pctx->uarg) != 0)
765 ppid = pid;
766 pid = pstatus->pr_lwp.pr_rval1;
770 pctx = pctx_capture(pid, pctx->uarg,
783 (*forkfn)(pctx, ppid, pid,
793 "cannot follow pid %d: %s\n",
803 "warning - pid %d sysexit(%d)\n"),
804 (int)pid, pstatus->pr_lwp.pr_what);
811 gettext("pid %d - signalled\n"), (int)pid);
816 gettext("pid %d - job control stop\n"),
817 (int)pid);
823 gettext("pid %d - faulted\n"), (int)pid);
828 gettext("pid %d - suspended\n"), (int)pid);
833 gettext("pid %d - checkpoint\n"),
834 (int)pid);
839 gettext("pid %d - reason %d\n"),
840 (int)pid, pstatus->pr_lwp.pr_why);
858 pctx_error(pctx, fn, gettext("lost control of pid %d\n"),
859 (int)pid);