aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/bpf_arm64.const
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-05-14 15:08:05 +0200
committerDmitry Vyukov <dvyukov@google.com>2019-05-14 19:28:01 +0200
commitcd3454ba97cb695ff923f4d7def0e25e85e5298c (patch)
tree2f0fe8d0fcbb66953c5b51f779267fb1e3d2bae8 /sys/linux/bpf_arm64.const
parent93dcf0adc883d2e48bd5955bb5fad5688ea62e11 (diff)
sys/linux: improve btf descriptions
Now that we have the len path expressions we can fix the TODO in btf descriptions to properly specify offsets of btf sections. Also add proper descriptions for btf type section and few other minor things around.
Diffstat (limited to 'sys/linux/bpf_arm64.const')
-rw-r--r--sys/linux/bpf_arm64.const18
1 files changed, 18 insertions, 0 deletions
diff --git a/sys/linux/bpf_arm64.const b/sys/linux/bpf_arm64.const
index db031339e..d329177f9 100644
--- a/sys/linux/bpf_arm64.const
+++ b/sys/linux/bpf_arm64.const
@@ -164,6 +164,24 @@ BPF_TASK_FD_QUERY = 20
BPF_W0 = 0
BPF_XADD0 = 6
BPF_XOR0 = 10
+BTF_INT_BOOL = 4
+BTF_INT_CHAR = 2
+BTF_INT_SIGNED = 1
+BTF_KIND_ARRAY = 3
+BTF_KIND_CONST = 10
+BTF_KIND_DATASEC = 15
+BTF_KIND_ENUM = 6
+BTF_KIND_FUNC = 12
+BTF_KIND_FUNC_PROTO = 13
+BTF_KIND_FWD = 7
+BTF_KIND_INT = 1
+BTF_KIND_PTR = 2
+BTF_KIND_RESTRICT = 11
+BTF_KIND_STRUCT = 4
+BTF_KIND_TYPEDEF = 8
+BTF_KIND_UNION = 5
+BTF_KIND_VAR = 14
+BTF_KIND_VOLATILE = 9
BTF_MAGIC = 60319
BTF_VERSION = 1
MAX_BPF_REG = 11