From 3c88136c8a2afbcdb1be19786c0b66837f5f7cd6 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 11 Sep 2018 18:44:54 +0200 Subject: sys/linux: add btf descriptions Add some new bpf descriptions, most notably btf. Not perfect, but something. --- sys/linux/bpf_amd64.const | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sys/linux/bpf_amd64.const') diff --git a/sys/linux/bpf_amd64.const b/sys/linux/bpf_amd64.const index 4c16a78f5..fad539b85 100644 --- a/sys/linux/bpf_amd64.const +++ b/sys/linux/bpf_amd64.const @@ -7,6 +7,8 @@ BPF_AND0 = 5 BPF_ANY = 0 BPF_ARSH0 = 12 BPF_B0 = 2 +BPF_BTF_GET_FD_BY_ID = 19 +BPF_BTF_LOAD = 18 BPF_CALL0 = 8 BPF_CGROUP_DEVICE = 6 BPF_CGROUP_INET4_BIND = 8 @@ -132,9 +134,12 @@ BPF_SK_SKB_STREAM_VERDICT = 5 BPF_ST = 2 BPF_STX = 3 BPF_SUB0 = 1 +BPF_TASK_FD_QUERY = 20 BPF_W0 = 0 BPF_XADD0 = 6 BPF_XOR0 = 10 +BTF_MAGIC = 60319 +BTF_VERSION = 1 __BPF_FUNC_MAX_ID = 84 __NR_bpf = 321 bpf_call_code = 133 -- cgit mrf-deployment