]> git.baikalelectronics.ru Git - kernel.git/commit
tools: bpftool: add a note on program statistics in man page
authorQuentin Monnet <quentin.monnet@netronome.com>
Fri, 12 Apr 2019 13:29:38 +0000 (14:29 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 16 Apr 2019 08:13:37 +0000 (10:13 +0200)
commit25d7e250331b5cadf0176f8937ec68beaa80b52f
tree265e18ebd733de513e0eaf37ec379c5fd7e3b776
parent05849d235c4bac88f5e223d0dfdd8837ee3ccd3c
tools: bpftool: add a note on program statistics in man page

Linux kernel now supports statistics for BPF programs, and bpftool is
able to dump them. However, these statistics are not enabled by default,
and administrators may not know how to access them.

Add a paragraph in bpftool documentation, under the description of the
"bpftool prog show" command, to explain that such statistics are
available and that their collection is controlled via a dedicated sysctl
knob.

Signed-off-by: Quentin Monnet <quentin.monnet@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/bpf/bpftool/Documentation/bpftool-prog.rst