linux/tools/bpf/bpftool/Documentation
Quentin Monnet 30da46b5dc tools: bpftool: add a command to dump the trace pipe
BPF programs can use the bpf_trace_printk() helper to print debug
information into the trace pipe. Add a subcommand
"bpftool prog tracelog" to simply dump this pipe to the console.

This is for a good part copied from iproute2, where the feature is
available with "tc exec bpf dbg". Changes include dumping pipe content
to stdout instead of stderr and adding JSON support (content is dumped
as an array of strings, one per line read from the pipe). This version
is dual-licensed, with Daniel's permission.

Cc: Daniel Borkmann <daniel@iogearbox.net>
Suggested-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Quentin Monnet <quentin.monnet@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2018-12-05 16:41:52 +01:00
..
bpftool-cgroup.rst tools: bpftool: update references to other man pages in documentation 2018-11-09 08:20:52 +01:00
bpftool-map.rst Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-11-28 22:10:54 -08:00
bpftool-net.rst tools: bpftool: update references to other man pages in documentation 2018-11-09 08:20:52 +01:00
bpftool-perf.rst tools: bpftool: update references to other man pages in documentation 2018-11-09 08:20:52 +01:00
bpftool-prog.rst tools: bpftool: add a command to dump the trace pipe 2018-12-05 16:41:52 +01:00
bpftool.rst tools: bpftool: update references to other man pages in documentation 2018-11-09 08:20:52 +01:00
Makefile tools: bpf: build and install man page for eBPF helpers from bpftool/ 2018-07-12 18:55:53 +02:00