]> 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)
commita8adc49dfe722eb9d46f8cdf194e89fe9b3e2f64
tree9a46ab82d2648d0c51a7efec2985b0d710bc1d8f
parentb89bcd43343ec32152e14d87f43e023ac6639ec5
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