linux/tools/bpf/bpftool/Documentation
Kumar Kartikeya Dwivedi 876f5ebd58 bpftool: Add support for dumping streams
Add support for printing the BPF stream contents of a program in
bpftool. The new bpftool prog tracelog command is extended to take
stdout and stderr arguments, and then the prog specification.

The bpf_prog_stream_read() API added in previous patch is simply reused
to grab data and then it is dumped to the respective file. The stdout
data is sent to stdout, and stderr is printed to stderr.

Cc: Quentin Monnet <qmo@kernel.org>
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Link: https://lore.kernel.org/r/20250703204818.925464-12-memxor@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2025-07-03 19:30:07 -07:00
..
Makefile tools: Remove redundant quiet setup 2025-02-18 16:27:43 -03:00
bpftool-btf.rst bpftool: btf: Support dumping a specific types from file 2024-12-13 14:35:42 -08:00
bpftool-cgroup.rst
bpftool-feature.rst
bpftool-gen.rst bpftool: Fix typos 2024-09-09 15:57:52 -07:00
bpftool-iter.rst
bpftool-link.rst
bpftool-map.rst
bpftool-net.rst
bpftool-perf.rst
bpftool-prog.rst bpftool: Add support for dumping streams 2025-07-03 19:30:07 -07:00
bpftool-struct_ops.rst
bpftool.rst
common_options.rst
substitutions.rst