Searched refs:go_pipe (Results 1 – 2 of 2) sorted by relevance
/external/linux-tools-perf/ |
D | builtin-record.c | 448 int child_ready_pipe[2], go_pipe[2]; in __cmd_record() local 460 if (forks && (pipe(child_ready_pipe) < 0 || pipe(go_pipe) < 0)) { in __cmd_record() 542 close(go_pipe[1]); in __cmd_record() 543 fcntl(go_pipe[0], F_SETFD, FD_CLOEXEC); in __cmd_record() 560 if (read(go_pipe[0], &buf, 1) == -1) in __cmd_record() 574 close(go_pipe[0]); in __cmd_record() 689 close(go_pipe[1]); in __cmd_record()
|
D | builtin-stat.c | 394 int child_ready_pipe[2], go_pipe[2]; in run_perf_stat() local 398 if (forks && (pipe(child_ready_pipe) < 0 || pipe(go_pipe) < 0)) { in run_perf_stat() 409 close(go_pipe[1]); in run_perf_stat() 410 fcntl(go_pipe[0], F_SETFD, FD_CLOEXEC); in run_perf_stat() 427 if (read(go_pipe[0], &buf, 1) == -1) in run_perf_stat() 443 close(go_pipe[0]); in run_perf_stat() 487 close(go_pipe[1]); in run_perf_stat()
|