Lines Matching refs:pid
91 static void MoreErrorInfo(pid_t pid, bool sig_quit_on_fail) { in MoreErrorInfo() argument
92 printf("Secondary pid is %d\n", pid); in MoreErrorInfo()
94 PrintFileToLog(android::base::StringPrintf("/proc/%d/maps", pid), ::android::base::ERROR); in MoreErrorInfo()
97 int res = kill(pid, SIGQUIT); in MoreErrorInfo()
215 pid_t pid = static_cast<pid_t>(pid_int); in Java_Main_unwindOtherProcess() local
219 if (ptrace(PTRACE_ATTACH, pid, 0, 0)) { in Java_Main_unwindOtherProcess()
223 kill(pid, SIGKILL); in Java_Main_unwindOtherProcess()
227 kill(pid, SIGSTOP); in Java_Main_unwindOtherProcess()
231 int signal = wait_for_sigstop(pid, &total_sleep_time_usec, &detach_failed); in Java_Main_unwindOtherProcess()
236 std::unique_ptr<Backtrace> bt(Backtrace::Create(pid, BACKTRACE_CURRENT_THREAD)); in Java_Main_unwindOtherProcess()
273 MoreErrorInfo(pid, kSigQuitOnFail); in Java_Main_unwindOtherProcess()
276 if (ptrace(PTRACE_DETACH, pid, 0, 0) != 0) { in Java_Main_unwindOtherProcess()
286 kill(pid, SIGKILL); in Java_Main_unwindOtherProcess()