Lines Matching refs:pid_t
133 Addr2linePipe(int in_fd, int out_fd, const std::string& file_name, pid_t pid) in Addr2linePipe()
145 const pid_t child_pid; // The pid of the child, which we should kill when we're done.
162 pid_t pid = fork(); in Connect()
331 std::set<pid_t> PtraceSiblings(pid_t pid) { in PtraceSiblings()
332 std::set<pid_t> ret; in PtraceSiblings()
351 pid_t tid = strtoul(de->d_name, &end, 10); in PtraceSiblings()
370 void DumpABI(pid_t forked_pid) { in DumpABI()
473 bool WaitForSigStopped(pid_t pid, uint32_t max_wait_micros) { in WaitForSigStopped()
476 pid_t rc = TEMP_FAILURE_RETRY(waitpid(pid, &status, WNOHANG)); in WaitForSigStopped()
502 void DumpThread(unwindstack::AndroidRemoteUnwinder& unwinder, pid_t pid, in DumpThread()
503 pid_t tid, in DumpThread()
571 void DumpProcess(pid_t forked_pid, const std::atomic<bool>& saw_wif_stopped_for_main) { in DumpProcess()
575 std::set<pid_t> tids = ptrace::PtraceSiblings(forked_pid); in DumpProcess()
594 for (pid_t tid : tids) { in DumpProcess()
600 void WaitMainLoop(pid_t forked_pid, std::atomic<bool>* saw_wif_stopped_for_main) { in WaitMainLoop()
604 pid_t res = TEMP_FAILURE_RETRY(waitpid(forked_pid, &status, 0)); in WaitMainLoop()
631 void SetupAndWait(pid_t forked_pid, int signal, int timeout_exit_code) { in SetupAndWait()
698 pid_t orig_ppid = getpid(); in main()
700 pid_t pid = fork(); in main()