Searched refs:go_pipe (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/tools/lib/perf/tests/ |
D | test-evlist.c | 209 int id, err, pid, go_pipe[2]; in test_mmap_thread() local 225 err = pipe(go_pipe); in test_mmap_thread() 234 read(go_pipe[0], &bf, 1); in test_mmap_thread() 270 write(go_pipe[1], &bf, 1); in test_mmap_thread()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | evlist.c | 1330 int child_ready_pipe[2], go_pipe[2]; in perf_evlist__prepare_workload() local 1338 if (pipe(go_pipe) < 0) { in perf_evlist__prepare_workload() 1358 close(go_pipe[1]); in perf_evlist__prepare_workload() 1359 fcntl(go_pipe[0], F_SETFD, FD_CLOEXEC); in perf_evlist__prepare_workload() 1369 ret = read(go_pipe[0], &bf, 1); in perf_evlist__prepare_workload() 1417 close(go_pipe[0]); in perf_evlist__prepare_workload() 1426 fcntl(go_pipe[1], F_SETFD, FD_CLOEXEC); in perf_evlist__prepare_workload() 1427 evlist->workload.cork_fd = go_pipe[1]; in perf_evlist__prepare_workload() 1432 close(go_pipe[0]); in perf_evlist__prepare_workload() 1433 close(go_pipe[1]); in perf_evlist__prepare_workload()
|