From ed849ffd18fd360fef9b5bfa636054a5f18f0170 Mon Sep 17 00:00:00 2001 From: dave-tucker Date: Tue, 6 Sep 2022 12:53:13 +0000 Subject: [PATCH] [codegen] Update libbpf to efd33720cdf4a0049323403df5daad0e9e894b3dUpdate libbpf to efd33720cdf4a0049323403df5daad0e9e894b3d Files changed:\nM aya/src/generated/linux_bindings_aarch64.rs M aya/src/generated/linux_bindings_armv7.rs M aya/src/generated/linux_bindings_riscv64.rs M aya/src/generated/linux_bindings_x86_64.rs --- aya/src/generated/linux_bindings_aarch64.rs | 15 +++++++++++++++ aya/src/generated/linux_bindings_armv7.rs | 15 +++++++++++++++ aya/src/generated/linux_bindings_riscv64.rs | 15 +++++++++++++++ aya/src/generated/linux_bindings_x86_64.rs | 15 +++++++++++++++ 4 files changed, 60 insertions(+) diff --git a/aya/src/generated/linux_bindings_aarch64.rs b/aya/src/generated/linux_bindings_aarch64.rs index c98c48e3..60c5fab6 100644 --- a/aya/src/generated/linux_bindings_aarch64.rs +++ b/aya/src/generated/linux_bindings_aarch64.rs @@ -395,6 +395,21 @@ pub enum bpf_attach_type { BPF_LSM_CGROUP = 43, __MAX_BPF_ATTACH_TYPE = 44, } +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum bpf_link_type { + BPF_LINK_TYPE_UNSPEC = 0, + BPF_LINK_TYPE_RAW_TRACEPOINT = 1, + BPF_LINK_TYPE_TRACING = 2, + BPF_LINK_TYPE_CGROUP = 3, + BPF_LINK_TYPE_ITER = 4, + BPF_LINK_TYPE_NETNS = 5, + BPF_LINK_TYPE_XDP = 6, + BPF_LINK_TYPE_PERF_EVENT = 7, + BPF_LINK_TYPE_KPROBE_MULTI = 8, + BPF_LINK_TYPE_STRUCT_OPS = 9, + MAX_BPF_LINK_TYPE = 10, +} pub const BPF_ANY: _bindgen_ty_2 = 0; pub const BPF_NOEXIST: _bindgen_ty_2 = 1; pub const BPF_EXIST: _bindgen_ty_2 = 2; diff --git a/aya/src/generated/linux_bindings_armv7.rs b/aya/src/generated/linux_bindings_armv7.rs index 532ebd4d..36750363 100644 --- a/aya/src/generated/linux_bindings_armv7.rs +++ b/aya/src/generated/linux_bindings_armv7.rs @@ -395,6 +395,21 @@ pub enum bpf_attach_type { BPF_LSM_CGROUP = 43, __MAX_BPF_ATTACH_TYPE = 44, } +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum bpf_link_type { + BPF_LINK_TYPE_UNSPEC = 0, + BPF_LINK_TYPE_RAW_TRACEPOINT = 1, + BPF_LINK_TYPE_TRACING = 2, + BPF_LINK_TYPE_CGROUP = 3, + BPF_LINK_TYPE_ITER = 4, + BPF_LINK_TYPE_NETNS = 5, + BPF_LINK_TYPE_XDP = 6, + BPF_LINK_TYPE_PERF_EVENT = 7, + BPF_LINK_TYPE_KPROBE_MULTI = 8, + BPF_LINK_TYPE_STRUCT_OPS = 9, + MAX_BPF_LINK_TYPE = 10, +} pub const BPF_ANY: _bindgen_ty_2 = 0; pub const BPF_NOEXIST: _bindgen_ty_2 = 1; pub const BPF_EXIST: _bindgen_ty_2 = 2; diff --git a/aya/src/generated/linux_bindings_riscv64.rs b/aya/src/generated/linux_bindings_riscv64.rs index c98c48e3..60c5fab6 100644 --- a/aya/src/generated/linux_bindings_riscv64.rs +++ b/aya/src/generated/linux_bindings_riscv64.rs @@ -395,6 +395,21 @@ pub enum bpf_attach_type { BPF_LSM_CGROUP = 43, __MAX_BPF_ATTACH_TYPE = 44, } +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum bpf_link_type { + BPF_LINK_TYPE_UNSPEC = 0, + BPF_LINK_TYPE_RAW_TRACEPOINT = 1, + BPF_LINK_TYPE_TRACING = 2, + BPF_LINK_TYPE_CGROUP = 3, + BPF_LINK_TYPE_ITER = 4, + BPF_LINK_TYPE_NETNS = 5, + BPF_LINK_TYPE_XDP = 6, + BPF_LINK_TYPE_PERF_EVENT = 7, + BPF_LINK_TYPE_KPROBE_MULTI = 8, + BPF_LINK_TYPE_STRUCT_OPS = 9, + MAX_BPF_LINK_TYPE = 10, +} pub const BPF_ANY: _bindgen_ty_2 = 0; pub const BPF_NOEXIST: _bindgen_ty_2 = 1; pub const BPF_EXIST: _bindgen_ty_2 = 2; diff --git a/aya/src/generated/linux_bindings_x86_64.rs b/aya/src/generated/linux_bindings_x86_64.rs index c98c48e3..60c5fab6 100644 --- a/aya/src/generated/linux_bindings_x86_64.rs +++ b/aya/src/generated/linux_bindings_x86_64.rs @@ -395,6 +395,21 @@ pub enum bpf_attach_type { BPF_LSM_CGROUP = 43, __MAX_BPF_ATTACH_TYPE = 44, } +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum bpf_link_type { + BPF_LINK_TYPE_UNSPEC = 0, + BPF_LINK_TYPE_RAW_TRACEPOINT = 1, + BPF_LINK_TYPE_TRACING = 2, + BPF_LINK_TYPE_CGROUP = 3, + BPF_LINK_TYPE_ITER = 4, + BPF_LINK_TYPE_NETNS = 5, + BPF_LINK_TYPE_XDP = 6, + BPF_LINK_TYPE_PERF_EVENT = 7, + BPF_LINK_TYPE_KPROBE_MULTI = 8, + BPF_LINK_TYPE_STRUCT_OPS = 9, + MAX_BPF_LINK_TYPE = 10, +} pub const BPF_ANY: _bindgen_ty_2 = 0; pub const BPF_NOEXIST: _bindgen_ty_2 = 1; pub const BPF_EXIST: _bindgen_ty_2 = 2;