Lines Matching defs:pid
36 printf("-p pid -t tid dump the stacktrace of the thread with given tid.\n");
37 printf("-p pid dump the stacktrace of all the threads with given pid.\n");
45 static int ParseParamters(int argc, char *argv[], int32_t &pid, int32_t &tid)
63 pid = atoi(optarg);
98 int32_t pid = 0;
104 if (ParseParamters(argc, argv, pid, tid) <= 0) {
108 DFXLOGD("pid: %{public}d, tid: %{public}d", pid, tid);
109 OHOS::HiviewDFX::DumpCatcher::GetInstance().Dump(pid, tid);