Home
last modified time | relevance | path

Searched refs:bpf_prog_stream_read (Results 1 – 5 of 5) sorted by relevance

/tools/testing/selftests/bpf/prog_tests/
A Dstream.c83 ret = bpf_prog_stream_read(prog_fd, 2, buf, sizeof(buf), &ropts); in test_stream_errors()
89 ret = bpf_prog_stream_read(prog_fd, BPF_STREAM_STDERR, buf, sizeof(buf), &ropts); in test_stream_errors()
119 ASSERT_LT(bpf_prog_stream_read(0, BPF_STREAM_STDOUT, buf, sizeof(buf), &ropts), 0, "error"); in test_stream_syscall()
123 ASSERT_LT(bpf_prog_stream_read(prog_fd, 0, buf, sizeof(buf), &ropts), 0, "error"); in test_stream_syscall()
127 ASSERT_LT(bpf_prog_stream_read(prog_fd, BPF_STREAM_STDOUT, NULL, sizeof(buf), NULL), 0, "error"); in test_stream_syscall()
131 ret = bpf_prog_stream_read(prog_fd, BPF_STREAM_STDOUT, buf, 2, NULL); in test_stream_syscall()
133 ret = bpf_prog_stream_read(prog_fd, BPF_STREAM_STDOUT, buf, 2, NULL); in test_stream_syscall()
135 ret = bpf_prog_stream_read(prog_fd, BPF_STREAM_STDOUT, buf, 1, &ropts); in test_stream_syscall()
137 ret = bpf_prog_stream_read(prog_fd, BPF_STREAM_STDERR, buf, 1, &ropts); in test_stream_syscall()
/tools/lib/bpf/
A Dlibbpf.map440 bpf_prog_stream_read;
A Dbpf.h730 LIBBPF_API int bpf_prog_stream_read(int prog_fd, __u32 stream_id, void *buf, __u32 buf_len,
A Dbpf.c1379 int bpf_prog_stream_read(int prog_fd, __u32 stream_id, void *buf, __u32 buf_len, in bpf_prog_stream_read() function
/tools/bpf/bpftool/
A Dprog.c1131 ret = bpf_prog_stream_read(prog_fd, stream_id, buf, sizeof(buf), NULL); in prog_tracelog_stream()

Completed in 19 milliseconds