Searched refs:go_pipe (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/tools/lib/perf/tests/ |
D | test-evlist.c | 227 int id, err, pid, go_pipe[2]; in test_mmap_thread() local 242 err = pipe(go_pipe); in test_mmap_thread() 252 read(go_pipe[0], &bf, 1); in test_mmap_thread() 289 write(go_pipe[1], "A", 1); in test_mmap_thread()
|
/linux-6.12.1/tools/perf/util/ |
D | evlist.c | 1484 int child_ready_pipe[2], go_pipe[2]; in evlist__prepare_workload() local 1492 if (pipe(go_pipe) < 0) { in evlist__prepare_workload() 1512 close(go_pipe[1]); in evlist__prepare_workload() 1513 fcntl(go_pipe[0], F_SETFD, FD_CLOEXEC); in evlist__prepare_workload() 1530 ret = read(go_pipe[0], &bf, 1); in evlist__prepare_workload() 1578 close(go_pipe[0]); in evlist__prepare_workload() 1587 fcntl(go_pipe[1], F_SETFD, FD_CLOEXEC); in evlist__prepare_workload() 1588 evlist->workload.cork_fd = go_pipe[1]; in evlist__prepare_workload() 1593 close(go_pipe[0]); in evlist__prepare_workload() 1594 close(go_pipe[1]); in evlist__prepare_workload()
|