]> git.baikalelectronics.ru Git - kernel.git/commit
libbpf: Add sphinx code documentation comments
authorGrant Seltzer <grantseltzer@gmail.com>
Wed, 15 Sep 2021 02:19:52 +0000 (22:19 -0400)
committerAndrii Nakryiko <andrii@kernel.org>
Wed, 15 Sep 2021 20:16:02 +0000 (13:16 -0700)
commit246409f84bdf9dab625b7e9351bdf0120d2e8abd
tree9a46ab82d2648d0c51a7efec2985b0d710bc1d8f
parent417e33cba58d3646bbb013716c932d5b173d3f8f
libbpf: Add sphinx code documentation comments

This adds comments above five functions in btf.h which document
their uses. These comments are of a format that doxygen and sphinx
can pick up and render. These are rendered by libbpf.readthedocs.org

Signed-off-by: Grant Seltzer <grantseltzer@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210915021951.117186-1-grantseltzer@gmail.com
tools/lib/bpf/btf.h