]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd578749b777b37afb6c13c1ce59aaf9982f00a6c
tree1f2cd5abae5699dad5f1974b1a5c437f6c40fdf1
parent1dff5feffa827e85faea5ed29b5d6edf5cde8a4f
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