diff options
author | Andrii Nakryiko <andriin@fb.com> | 2019-12-18 06:25:52 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-12-18 07:16:36 +0100 |
commit | cb21ac58854605e6c15fd7da2c619823967b3140 (patch) | |
tree | 2b0baea8a420a4e6949b3ce8f7e9e374a549d186 /tools/bpf/bpftool/Documentation/bpftool.rst | |
parent | libbpf: Remove BPF_EMBED_OBJ macro from libbpf.h (diff) | |
download | linux-cb21ac58854605e6c15fd7da2c619823967b3140.tar.xz linux-cb21ac58854605e6c15fd7da2c619823967b3140.zip |
bpftool: Add gen subcommand manpage
Add bpftool-gen.rst describing skeleton on the high level. Also include
a small, but complete, example BPF app (BPF side, userspace side, generated
skeleton) in example section to demonstrate skeleton API and its usage.
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20191218052552.2915188-4-andriin@fb.com
Diffstat (limited to 'tools/bpf/bpftool/Documentation/bpftool.rst')
-rw-r--r-- | tools/bpf/bpftool/Documentation/bpftool.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/bpf/bpftool/Documentation/bpftool.rst b/tools/bpf/bpftool/Documentation/bpftool.rst index 6a9c52ef84a9..34239fda69ed 100644 --- a/tools/bpf/bpftool/Documentation/bpftool.rst +++ b/tools/bpf/bpftool/Documentation/bpftool.rst @@ -81,4 +81,5 @@ SEE ALSO **bpftool-feature**\ (8), **bpftool-net**\ (8), **bpftool-perf**\ (8), - **bpftool-btf**\ (8) + **bpftool-btf**\ (8), + **bpftool-gen**\ (8), |