Searched refs:pid_stat (Results 1 – 1 of 1) sorted by relevance
246 int pid_stat = -1; in Start() local247 int wait_res = PERFETTO_EINTR(waitpid(pid, &pid_stat, 0)); in Start()250 write(exit_status_pipe_wr, &pid_stat, sizeof(pid_stat)))); in Start()348 int pid_stat = -1; in TryReadExitStatus() local350 PERFETTO_EINTR(read(*exit_status_pipe_.rd, &pid_stat, sizeof(pid_stat))); in TryReadExitStatus()355 PERFETTO_CHECK(rsize == sizeof(pid_stat)); in TryReadExitStatus()362 if (WIFEXITED(pid_stat)) { in TryReadExitStatus()363 returncode_ = WEXITSTATUS(pid_stat); in TryReadExitStatus()365 } else if (WIFSIGNALED(pid_stat)) { in TryReadExitStatus()366 returncode_ = 128 + WTERMSIG(pid_stat); // Follow bash convention. in TryReadExitStatus()[all …]