Lines Matching defs:g_targetpid
89 static pid_t g_targetpid; /* target process id */
204 if (g_targetpid != 0) {
208 err = tnfctl_pid_open(g_targetpid, &g_hndl);
235 g_targetpid = trace_attrs.targ_pid;
520 getpid(), g_targetpid);
577 g_targetpid = 0;
593 g_targetpid = atoi(optarg);
620 if (!g_kernelmode && (g_cmdname == NULL && g_targetpid == 0))
622 if (g_cmdname != NULL && g_targetpid != 0)
624 if (g_targetpid && g_preload)
631 if (g_targetpid)
653 g_targetpid = atoi(argv[i]);
763 (void) sprintf(path, "%s/trace-%ld", tmpdir, g_targetpid);
931 dmodel = get_data_model(g_targetpid);