libbpf: Add documentation to API functions
authorGrant Seltzer <grantseltzer@gmail.com>
Wed, 20 Apr 2022 16:12:26 +0000 (12:12 -0400)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 21 Apr 2022 14:31:07 +0000 (16:31 +0200)
commita66ab9a9e66ab868de7063622d91442181deba0f
tree1f2cd5abae5699dad5f1974b1a5c437f6c40fdf1
parentdf286716321350d1ca370d5737acf5a10b20ee9e
libbpf: Add documentation to API functions

This adds documentation for the following API functions:

- bpf_program__set_expected_attach_type()
- bpf_program__set_type()
- bpf_program__set_attach_target()
- bpf_program__attach()
- bpf_program__pin()
- bpf_program__unpin()

Signed-off-by: Grant Seltzer <grantseltzer@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20220420161226.86803-3-grantseltzer@gmail.com
tools/lib/bpf/libbpf.h