Home
last modified time | relevance | path

Searched refs:child_ready_pipe (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/tools/perf/
Dbuiltin-stat.c261 int child_ready_pipe[2], go_pipe[2]; in run_perf_stat() local
265 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()
Dbuiltin-record.c446 int child_ready_pipe[2], go_pipe[2]; in __cmd_record() local
458 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()