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)
commite5e23424e51edbd8b3fabae382aeec0bb8926cf1
tree3f11751a6b0d71f55c1dba54235c8f17f02717f5
parent3908fcddc65d04e069b03be49b33fae90e424631
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