Lines Matching refs:pid
97 * - Attaches PMCs to the child's pid
228 pid_t pid;
235 switch (pid = fork()) {
265 EV_SET(&kev, pid, EVFILT_PROC, EV_ADD|EV_ONESHOT, NOTE_EXIT, 0,
268 err(EX_OSERR, "ERROR: cannot monitor child process %d", pid);
273 pt->pt_pid = pid;
286 int n, nproc, pid, rv;
294 pid = strtol(spec, &end, 0);
295 if (end != spec && pid >= 0) {
298 pt->pt_pid = pid;
469 * If a pid was specified, attach each allocated PMC to the target
859 case 't': /* target pid or process name */
973 /* check for -t pid without a process PMC spec */
980 /* check for process-mode options without a command or -t pid */