Searched refs:pidarg (Results 1 – 3 of 3) sorted by relevance
/titanic_44/usr/src/cmd/ptools/ptime/ |
H A D | ptime.c | 52 static char *pidarg; variable 83 pidarg = optarg; in main() 94 if (((pidarg != NULL) ^ (argc < 1)) || errflg) { in main() 103 if (pidarg != NULL) { in main() 104 if ((Pr = proc_arg_grab(pidarg, PR_ARG_PIDS, in main() 107 command, pidarg, Pgrab_error(gret)); in main() 128 if (pidarg == NULL) in main() 133 if (pidarg != NULL) { in main() 177 if (pidarg) { in look()
|
/titanic_44/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_main.c | 424 const char *Iflag = NULL, *Lflag = NULL, *Vflag = NULL, *pidarg = NULL; in main() local 540 pidarg = optarg; in main() 773 if (pidarg != NULL) { in main() 788 if (pidarg != NULL) { in main() 793 if (proc_arg_psinfo(pidarg, PR_ARG_PIDS, NULL, &status) == -1) { in main() 795 pidarg, Pgrab_error(status)); in main() 797 if (strchr(pidarg, '/') != NULL) in main() 799 "%s/object/a.out", pidarg); in main() 802 "/proc/%s/object/a.out", pidarg); in main() 804 tgt_argv[tgt_argc++] = pidarg; in main() [all …]
|
H A D | mdb_proc.c | 911 char pidarg[16]; in pt_exec() local 923 (void) mdb_snprintf(pidarg, sizeof (pidarg), "-p%d", (int)pid); in pt_exec() 934 argv[1] = pidarg; in pt_exec()
|