Searched refs:pid_stat (Results 1 – 1 of 1) sorted by relevance
252 int pid_stat = -1; in Start() local254 int wait_res = PERFETTO_EINTR(wait4(pid, &pid_stat, 0, &usg)); in Start()269 write(exit_status_pipe_wr, &pid_stat, sizeof(pid_stat)))); in Start()354 int pid_stat = -1; in TryReadExitStatus() local356 read(*s_->exit_status_pipe.rd, &pid_stat, sizeof(pid_stat))); in TryReadExitStatus()361 PERFETTO_CHECK(rsize == sizeof(pid_stat)); in TryReadExitStatus()369 if (WIFEXITED(pid_stat)) { in TryReadExitStatus()370 s_->returncode = WEXITSTATUS(pid_stat); in TryReadExitStatus()371 } else if (WIFSIGNALED(pid_stat)) { in TryReadExitStatus()372 s_->returncode = 128 + WTERMSIG(pid_stat); // Follow bash convention. in TryReadExitStatus()[all …]