diff options
author | Quentin Monnet <quentin.monnet@netronome.com> | 2018-11-08 12:52:26 +0100 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-11-09 08:20:52 +0100 |
commit | a8bfd2bc29f3bf35c7b588b102662375b0184475 (patch) | |
tree | c2c9c46f25b74d63f5fa15e040ddfb2d43cb1adf /tools/bpf/bpftool/Documentation/bpftool-prog.rst | |
parent | tools: bpftool: prevent infinite loop in get_fdinfo() (diff) | |
download | linux-a8bfd2bc29f3bf35c7b588b102662375b0184475.tar.xz linux-a8bfd2bc29f3bf35c7b588b102662375b0184475.zip |
tools: bpftool: fix plain output and doc for --bpffs option
Edit the documentation of the -f|--bpffs option to make it explicit that
it dumps paths of pinned programs when bpftool is used to list the
programs only, so that users do not believe they will see the name of
the newly pinned program with "bpftool prog pin" or "bpftool prog load".
Also fix the plain output: do not add a blank line after each program
block, in order to remain consistent with what bpftool does when the
option is not passed.
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>
Diffstat (limited to 'tools/bpf/bpftool/Documentation/bpftool-prog.rst')
-rw-r--r-- | tools/bpf/bpftool/Documentation/bpftool-prog.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/bpf/bpftool/Documentation/bpftool-prog.rst b/tools/bpf/bpftool/Documentation/bpftool-prog.rst index ac4e904b10fb..81fb97acfaeb 100644 --- a/tools/bpf/bpftool/Documentation/bpftool-prog.rst +++ b/tools/bpf/bpftool/Documentation/bpftool-prog.rst @@ -124,7 +124,8 @@ OPTIONS Generate human-readable JSON output. Implies **-j**. -f, --bpffs - Show file names of pinned programs. + When showing BPF programs, show file names of pinned + programs. EXAMPLES ======== |