Searched refs:child_ready_pipe (Results 1 – 2 of 2) sorted by relevance
261 int child_ready_pipe[2], go_pipe[2]; in run_perf_stat() local265 if (forks && (pipe(child_ready_pipe) < 0 || pipe(go_pipe) < 0)) { in run_perf_stat()275 close(child_ready_pipe[0]); in run_perf_stat()289 close(child_ready_pipe[1]); in run_perf_stat()309 close(child_ready_pipe[1]); in run_perf_stat()311 if (read(child_ready_pipe[0], &buf, 1) == -1) in run_perf_stat()313 close(child_ready_pipe[0]); in run_perf_stat()
446 int child_ready_pipe[2], go_pipe[2]; in __cmd_record() local458 if (forks && (pipe(child_ready_pipe) < 0 || pipe(go_pipe) < 0)) { in __cmd_record()533 close(child_ready_pipe[0]); in __cmd_record()547 close(child_ready_pipe[1]); in __cmd_record()565 close(child_ready_pipe[1]); in __cmd_record()570 if (read(child_ready_pipe[0], &buf, 1) == -1) { in __cmd_record()574 close(child_ready_pipe[0]); in __cmd_record()