Home
last modified time | relevance | path

Searched refs:pipe (Results 1 – 25 of 32) sorted by relevance

12

/tools/testing/selftests/powerpc/pmu/
Dlib.h14 union pipe { union
25 extern int sync_with_child(union pipe read_pipe, union pipe write_pipe);
26 extern int wait_for_parent(union pipe read_pipe);
27 extern int notify_parent(union pipe write_pipe);
28 extern int notify_parent_of_error(union pipe write_pipe);
Dlib.c33 int sync_with_child(union pipe read_pipe, union pipe write_pipe) in sync_with_child()
45 int wait_for_parent(union pipe read_pipe) in wait_for_parent()
55 int notify_parent(union pipe write_pipe) in notify_parent()
64 int notify_parent_of_error(union pipe write_pipe) in notify_parent_of_error()
97 static int eat_cpu_child(union pipe read_pipe, union pipe write_pipe) in eat_cpu_child()
118 union pipe read_pipe, write_pipe; in eat_cpu()
126 if (pipe(read_pipe.fds) == -1) in eat_cpu()
129 if (pipe(write_pipe.fds) == -1) in eat_cpu()
/tools/testing/selftests/powerpc/pmu/ebb/
Debb_on_child_test.c23 static int victim_child(union pipe read_pipe, union pipe write_pipe) in victim_child()
46 union pipe read_pipe, write_pipe; in ebb_on_child()
52 FAIL_IF(pipe(read_pipe.fds) == -1); in ebb_on_child()
53 FAIL_IF(pipe(write_pipe.fds) == -1); in ebb_on_child()
Debb_on_willing_child_test.c23 static int victim_child(union pipe read_pipe, union pipe write_pipe) in victim_child()
53 union pipe read_pipe, write_pipe; in ebb_on_willing_child()
59 FAIL_IF(pipe(read_pipe.fds) == -1); in ebb_on_willing_child()
60 FAIL_IF(pipe(write_pipe.fds) == -1); in ebb_on_willing_child()
Dtask_event_vs_ebb_test.c38 union pipe read_pipe, write_pipe; in task_event_vs_ebb()
45 FAIL_IF(pipe(read_pipe.fds) == -1); in task_event_vs_ebb()
46 FAIL_IF(pipe(write_pipe.fds) == -1); in task_event_vs_ebb()
Debb_vs_cpu_event_test.c39 union pipe read_pipe, write_pipe; in ebb_vs_cpu_event()
50 FAIL_IF(pipe(read_pipe.fds) == -1); in ebb_vs_cpu_event()
51 FAIL_IF(pipe(write_pipe.fds) == -1); in ebb_vs_cpu_event()
Dcpu_event_vs_ebb_test.c39 union pipe read_pipe, write_pipe; in cpu_event_vs_ebb()
50 FAIL_IF(pipe(read_pipe.fds) == -1); in cpu_event_vs_ebb()
51 FAIL_IF(pipe(write_pipe.fds) == -1); in cpu_event_vs_ebb()
Dtask_event_pinned_vs_ebb_test.c40 union pipe read_pipe, write_pipe; in task_event_pinned_vs_ebb()
47 FAIL_IF(pipe(read_pipe.fds) == -1); in task_event_pinned_vs_ebb()
48 FAIL_IF(pipe(write_pipe.fds) == -1); in task_event_pinned_vs_ebb()
Dcpu_event_pinned_vs_ebb_test.c41 union pipe read_pipe, write_pipe; in cpu_event_pinned_vs_ebb()
52 FAIL_IF(pipe(read_pipe.fds) == -1); in cpu_event_pinned_vs_ebb()
53 FAIL_IF(pipe(write_pipe.fds) == -1); in cpu_event_pinned_vs_ebb()
Debb.h74 int ebb_child(union pipe read_pipe, union pipe write_pipe);
Debb.c349 int ebb_child(union pipe read_pipe, union pipe write_pipe) in ebb_child()
/tools/perf/Documentation/
Dperf-bench.txt31 % perf bench sched pipe # with no style specified
32 (executing 1000000 pipe operations between two tasks)
42 % perf bench --format=simple sched pipe # specified simple
73 --pipe::
74 Use pipe() instead of socketpair()
105 *pipe*::
106 Suite for pipe() system call.
107 Based on pipe-test-1m.c by Ingo Molnar.
109 Options of *pipe*
115 Example of *pipe*
[all …]
Dperf-annotate.txt68 to a pipe or file. Using just '--stdio-color' is equivalent to
Dperf.data-file-format.txt12 When perf is writing to a pipe it uses a special version of the file
14 format is not described here. The pipe version can be converted to
/tools/virtio/virtio-trace/
DREADME42 virtio-trace uses virtio-serial pipe as trace data paths as to the number
43 of CPUs and a control path, so FIFO (named pipe) should be created as follows:
53 2) Set up of virtio-serial pipe in a host
54 Add qemu option to use virtio-serial pipe.
59 -chardev pipe,id=charchannel0,path=/tmp/virtio-trace/agent-ctl-path\
63 -chardev pipe,id=charchannel1,path=/tmp/virtio-trace/trace-path-cpu0\
71 <channel type='pipe'>
76 <channel type='pipe'>
/tools/testing/selftests/powerpc/context_switch/
Dcp_abort.c84 FAIL_IF(pipe(fd1) || pipe(fd2)); in test_cp_abort()
/tools/lib/subcmd/
Drun-command.c41 if (pipe(fdin) < 0) { in start_command()
53 if (pipe(fdout) < 0) { in start_command()
65 if (pipe(fderr) < 0) { in start_command()
/tools/perf/bench/
DBuild2 perf-y += sched-pipe.o
Dsched-pipe.c98 BUG_ON(pipe(pipe_1)); in bench_sched_pipe()
99 BUG_ON(pipe(pipe_2)); in bench_sched_pipe()
Dsched-messaging.c58 if (pipe(fds) == 0) in fdpair()
/tools/testing/selftests/nsfs/
Downer.c33 if (pipe(pfd)) in main()
/tools/testing/selftests/powerpc/benchmarks/
Dcontext_switch.c160 if (pipe(pipe_fd1) || pipe(pipe_fd2)) in pipe_setup()
/tools/perf/tests/
Dmmap-thread-lookup.c78 if (pipe(td->ready)) in thread_create()
Dcode-reading.c432 if (pipe(pipefd) < 0) { in syscall_something()
/tools/virtio/
Dvringh_test.c163 pipe(to_guest); in parallel_test()
164 pipe(to_host); in parallel_test()

12