aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorKumar Kartikeya Dwivedi <[email protected]>2025-07-03 20:48:16 +0000
committerAlexei Starovoitov <[email protected]>2025-07-04 02:30:07 +0000
commit3bbc1ba9cc0d9a7ccc194883489a4e460ca5080b (patch)
treeb2b3fc9eb606e5aae54fdf689f21232b40d45f19 /tools/bpf/bpftool/prog.c
parentlibbpf: Add bpf_stream_printk() macro (diff)
downloadkernel-3bbc1ba9cc0d9a7ccc194883489a4e460ca5080b.tar.gz
kernel-3bbc1ba9cc0d9a7ccc194883489a4e460ca5080b.zip
libbpf: Introduce bpf_prog_stream_read() API
Introduce a libbpf API so that users can read data from a given BPF stream for a BPF prog fd. For now, only the low-level syscall wrapper is provided, we can add a bpf_program__* accessor as a follow up if needed. Acked-by: Andrii Nakryiko <[email protected]> Acked-by: Eduard Zingerman <[email protected]> Signed-off-by: Kumar Kartikeya Dwivedi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions