]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Documentation/bpf: Update btf doc with updated vlen, kind sizes
authorAlan Maguire <alan.maguire@oracle.com>
Fri, 17 Apr 2026 14:30:23 +0000 (15:30 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 21 Apr 2026 00:52:48 +0000 (17:52 -0700)
Sync doc with updated UAPI changes utilizing unused bts for
extended vlen, kind values.

Signed-off-by: Alan Maguire <alan.maguire@oracle.com>
Link: https://lore.kernel.org/r/20260417143023.1551481-7-alan.maguire@oracle.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Documentation/bpf/btf.rst

index 3b60583f5db2397c8cf487d91d3a141180e6bbfe..3f05f17990ade70c1b80c4de1db905ca2daac1c3 100644 (file)
@@ -97,10 +97,8 @@ Each type contains the following common data::
     struct btf_type {
         __u32 name_off;
         /* "info" bits arrangement
-         * bits  0-15: vlen (e.g. # of struct's members)
-         * bits 16-23: unused
-         * bits 24-28: kind (e.g. int, ptr, array...etc)
-         * bits 29-30: unused
+         * bits  0-23: vlen (e.g. # of struct's members)
+         * bits 24-30: kind (e.g. int, ptr, array...etc)
          * bit     31: kind_flag, currently used by
          *             struct, union, enum, fwd, enum64,
          *             decl_tag and type_tag