summaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/Documentation/bpftool-prog.rst
diff options
context:
space:
mode:
authorMartin KaFai Lau <kafai@fb.com>2018-12-10 10:53:24 -0800
committerAlexei Starovoitov <ast@kernel.org>2018-12-10 12:26:59 -0800
commit10a5ce98539948affbdc28dc0f39a1b6b2307f9d (patch)
treef1e5a55f302ce6a413678ebfe8f3a33c3210cde7 /tools/bpf/bpftool/Documentation/bpftool-prog.rst
parente434b8cdf788568ba65a0a0fd9f3cb41f3ca1803 (diff)
downloadlinux-10a5ce98539948affbdc28dc0f39a1b6b2307f9d.tar.bz2
bpf: bpftool: Fix newline and p_err issue
This patch fixes a few newline issues and also replaces p_err with p_info in prog.c Fixes: b053b439b72a ("bpf: libbpf: bpftool: Print bpf_line_info during prog dump") Cc: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: Martin KaFai Lau <kafai@fb.com> Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/bpf/bpftool/Documentation/bpftool-prog.rst')
-rw-r--r--tools/bpf/bpftool/Documentation/bpftool-prog.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/bpf/bpftool/Documentation/bpftool-prog.rst b/tools/bpf/bpftool/Documentation/bpftool-prog.rst
index 7c30731a9b73..bb1aeb98b6da 100644
--- a/tools/bpf/bpftool/Documentation/bpftool-prog.rst
+++ b/tools/bpf/bpftool/Documentation/bpftool-prog.rst
@@ -73,6 +73,7 @@ DESCRIPTION
be displayed by default. If **linum** is specified,
the filename, line number and line column will also be
displayed on top of the source line.
+
**bpftool prog dump jited** *PROG* [{ **file** *FILE* | **opcodes** | **linum** }]
Dump jited image (host machine code) of the program.
If *FILE* is specified image will be written to a file,
@@ -84,6 +85,7 @@ DESCRIPTION
be displayed by default. If **linum** is specified,
the filename, line number and line column will also be
displayed on top of the source line.
+
**bpftool prog pin** *PROG* *FILE*
Pin program *PROG* as *FILE*.