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
..
bpftool-btf.rst bpftool: btf: Support dumping a specific types from file 2024-12-13 14:35:42 -08:00
bpftool-cgroup.rst bpftool: Update documentation where progs/maps can be passed by name 2024-04-16 17:58:25 +02:00
bpftool-feature.rst bpftool: Remove useless emphasis on command description in man pages 2024-04-02 15:50:23 +02:00
bpftool-gen.rst bpftool: Fix typos 2024-09-09 15:57:52 -07:00
bpftool-iter.rst bpftool: Clean-up typos, punctuation, list formatting in docs 2024-04-02 15:50:23 +02:00
bpftool-link.rst bpftool: Remove useless emphasis on command description in man pages 2024-04-02 15:50:23 +02:00
bpftool-map.rst bpftool: Remove useless emphasis on command description in man pages 2024-04-02 15:50:23 +02:00
bpftool-net.rst bpftool: Add missing blank lines in bpftool-net doc example 2024-09-02 18:25:16 +02:00
bpftool-perf.rst bpftool: Remove useless emphasis on command description in man pages 2024-04-02 15:50:23 +02:00
bpftool-prog.rst bpftool: Add support for dumping streams 2025-07-03 19:30:07 -07:00
bpftool-struct_ops.rst bpftool: Remove useless emphasis on command description in man pages 2024-04-02 15:50:23 +02:00
bpftool.rst bpftool: Use simpler indentation in source rST for documentation 2024-04-02 15:50:23 +02:00
common_options.rst bpftool: Use simpler indentation in source rST for documentation 2024-04-02 15:50:23 +02:00
Makefile tools: Remove redundant quiet setup 2025-02-18 16:27:43 -03:00
substitutions.rst bpftool: remove support of --legacy option for bpftool 2022-11-20 16:17:46 -08:00