Home
last modified time | relevance | path

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

/openbmc/linux/tools/lib/perf/tests/
H A Dtest-evlist.c227 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()
/openbmc/linux/tools/perf/util/
H A Devlist.c1412 int child_ready_pipe[2], go_pipe[2]; in evlist__prepare_workload() local
1420 if (pipe(go_pipe) < 0) { in evlist__prepare_workload()
1440 close(go_pipe[1]); in evlist__prepare_workload()
1441 fcntl(go_pipe[0], F_SETFD, FD_CLOEXEC); in evlist__prepare_workload()
1458 ret = read(go_pipe[0], &bf, 1); in evlist__prepare_workload()
1506 close(go_pipe[0]); in evlist__prepare_workload()
1515 fcntl(go_pipe[1], F_SETFD, FD_CLOEXEC); in evlist__prepare_workload()
1516 evlist->workload.cork_fd = go_pipe[1]; in evlist__prepare_workload()
1521 close(go_pipe[0]); in evlist__prepare_workload()
1522 close(go_pipe[1]); in evlist__prepare_workload()