]> git.baikalelectronics.ru Git - kernel.git/commit
docs/bpf: Update documentation for BTF_KIND_FUNC
authorIndu Bhagat <indu.bhagat@oracle.com>
Thu, 14 Jul 2022 22:33:10 +0000 (15:33 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 19 Jul 2022 16:42:09 +0000 (09:42 -0700)
commit39782d36f2d1c2271b96a9c982ff99942b19224b
tree3f11751a6b0d71f55c1dba54235c8f17f02717f5
parent44f6c3fb668bdbdbb1d38c069c3bd10bc3a463e8
docs/bpf: Update documentation for BTF_KIND_FUNC

The vlen bits in the BTF type of kind BTF_KIND_FUNC are used to convey the
linkage information for functions. The Linux kernel only supports
linkage values of BTF_FUNC_STATIC and BTF_FUNC_GLOBAL at this time.

Signed-off-by: Indu Bhagat <indu.bhagat@oracle.com>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Link: https://lore.kernel.org/r/20220714223310.1140097-1-indu.bhagat@oracle.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Documentation/bpf/btf.rst