bpftool: Add gen subcommand manpage
authorAndrii Nakryiko <andriin@fb.com>
Wed, 18 Dec 2019 05:25:52 +0000 (21:25 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 18 Dec 2019 06:16:36 +0000 (22:16 -0800)
commitcb21ac58854605e6c15fd7da2c619823967b3140
tree2b0baea8a420a4e6949b3ce8f7e9e374a549d186
parent3bf3c79b772f4155312c000310abab700aba2200
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
tools/bpf/bpftool/Documentation/bpftool-gen.rst [new file with mode: 0644]
tools/bpf/bpftool/Documentation/bpftool.rst