From d44647df1f3b9d3b0e1ae15e2cd12ede672283fb Mon Sep 17 00:00:00 2001 From: Paul Chaignon Date: Thu, 10 Oct 2024 00:14:22 +0200 Subject: 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 --- sys/linux/bpf.txt.const | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys/linux/bpf.txt.const') 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 -- cgit mrf-deployment