aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/bpf.txt.const
diff options
context:
space:
mode:
authorPaul Chaignon <paul.chaignon@gmail.com>2024-10-10 00:14:22 +0200
committerDmitry Vyukov <dvyukov@google.com>2024-10-10 09:10:20 +0000
commitd44647df1f3b9d3b0e1ae15e2cd12ede672283fb (patch)
treebcb482af8197733426a3a01b05ff55e91e83a307 /sys/linux/bpf.txt.const
parent3937a9e90d502451ef8555e1ed1eca08dd50da7b (diff)
sys/linux: describe new BTF types
Describe four new BTF types introduced in commits [1, 2, 3, 4] upstream. Note BTF_KIND_TAG was later renamed to BTF_KIND_DECL_TAG. These four types are also described in the documentation at [5]. 1 - https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b1828f0b04828 2 - https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b5ea834dde6b6 3 - https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8c42d2fa4eeab 4 - https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6089fb325cf73 5 - https://docs.kernel.org/bpf/btf.html#btf-kind-float Signed-off-by: Paul Chaignon <paul.chaignon@gmail.com>
Diffstat (limited to 'sys/linux/bpf.txt.const')
-rw-r--r--sys/linux/bpf.txt.const4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/linux/bpf.txt.const b/sys/linux/bpf.txt.const
index 608d7bf3e..fe3cfdfbd 100644
--- a/sys/linux/bpf.txt.const
+++ b/sys/linux/bpf.txt.const
@@ -228,7 +228,10 @@ BTF_INT_SIGNED = 1
BTF_KIND_ARRAY = 3
BTF_KIND_CONST = 10
BTF_KIND_DATASEC = 15
+BTF_KIND_DECL_TAG = 17
BTF_KIND_ENUM = 6
+BTF_KIND_ENUM64 = 19
+BTF_KIND_FLOAT = 16
BTF_KIND_FUNC = 12
BTF_KIND_FUNC_PROTO = 13
BTF_KIND_FWD = 7
@@ -237,6 +240,7 @@ BTF_KIND_PTR = 2
BTF_KIND_RESTRICT = 11
BTF_KIND_STRUCT = 4
BTF_KIND_TYPEDEF = 8
+BTF_KIND_TYPE_TAG = 18
BTF_KIND_UNION = 5
BTF_KIND_VAR = 14
BTF_KIND_VOLATILE = 9