Searched refs:go_pipe (Results 1 – 2 of 2) sorted by relevance
/linux/tools/lib/perf/tests/ |
A D | test-evlist.c | 223 int id, err, pid, go_pipe[2]; in test_mmap_thread() local 238 err = pipe(go_pipe); in test_mmap_thread() 248 read(go_pipe[0], &bf, 1); in test_mmap_thread() 285 write(go_pipe[1], "A", 1); in test_mmap_thread()
|
/linux/tools/perf/util/ |
A D | evlist.c | 1364 int child_ready_pipe[2], go_pipe[2]; in evlist__prepare_workload() local 1372 if (pipe(go_pipe) < 0) { in evlist__prepare_workload() 1392 close(go_pipe[1]); in evlist__prepare_workload() 1393 fcntl(go_pipe[0], F_SETFD, FD_CLOEXEC); in evlist__prepare_workload() 1410 ret = read(go_pipe[0], &bf, 1); in evlist__prepare_workload() 1458 close(go_pipe[0]); in evlist__prepare_workload() 1467 fcntl(go_pipe[1], F_SETFD, FD_CLOEXEC); in evlist__prepare_workload() 1468 evlist->workload.cork_fd = go_pipe[1]; in evlist__prepare_workload() 1473 close(go_pipe[0]); in evlist__prepare_workload() 1474 close(go_pipe[1]); in evlist__prepare_workload()
|
Completed in 7 milliseconds