Add documentation for bpftool. Separate files for each subcommand. Use rst format. Documentation is compiled into man pages using rst2man. Signed-off-by: David Beckett <david.beckett@netronome.com> Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Acked-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: David S. Miller <davem@davemloft.net>
35 lines
872 B
ReStructuredText
35 lines
872 B
ReStructuredText
================
|
|
BPFTOOL
|
|
================
|
|
-------------------------------------------------------------------------------
|
|
tool for inspection and simple manipulation of eBPF programs and maps
|
|
-------------------------------------------------------------------------------
|
|
|
|
:Manual section: 8
|
|
|
|
SYNOPSIS
|
|
========
|
|
|
|
**bpftool** *OBJECT* { *COMMAND* | help }
|
|
|
|
**bpftool** batch file *FILE*
|
|
|
|
*OBJECT* := { **map** | **program** }
|
|
|
|
*MAP-COMMANDS* :=
|
|
{ show | dump | update | lookup | getnext | delete | pin | help }
|
|
|
|
*PROG-COMMANDS* := { show | dump jited | dump xlated | pin | help }
|
|
|
|
DESCRIPTION
|
|
===========
|
|
*bpftool* allows for inspection and simple modification of BPF objects
|
|
on the system.
|
|
|
|
Note that format of the output of all tools is not guaranteed to be
|
|
stable and should not be depended upon.
|
|
|
|
SEE ALSO
|
|
========
|
|
**bpftool-map**\ (8), **bpftool-prog**\ (8)
|