Browse Source

Merge pull request #989 from aya-rs/codegen

Update libbpf to 686f600bca59e107af4040d0838ca2b02c14ff50
Dave Tucker 8 months ago
parent
commit
8015e10079

+ 5 - 0
aya-obj/src/generated/linux_bindings_aarch64.rs

@@ -476,6 +476,11 @@ pub const BPF_F_TOKEN_FD: _bindgen_ty_5 = 65536;
 pub const BPF_F_SEGV_ON_FAULT: _bindgen_ty_5 = 131072;
 pub const BPF_F_NO_USER_CONV: _bindgen_ty_5 = 262144;
 pub type _bindgen_ty_5 = ::core::ffi::c_uint;
+#[repr(u32)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
+pub enum bpf_stats_type {
+    BPF_STATS_RUN_TIME = 0,
+}
 #[repr(C)]
 #[derive(Copy, Clone)]
 pub union bpf_attr {

+ 5 - 0
aya-obj/src/generated/linux_bindings_armv7.rs

@@ -476,6 +476,11 @@ pub const BPF_F_TOKEN_FD: _bindgen_ty_5 = 65536;
 pub const BPF_F_SEGV_ON_FAULT: _bindgen_ty_5 = 131072;
 pub const BPF_F_NO_USER_CONV: _bindgen_ty_5 = 262144;
 pub type _bindgen_ty_5 = ::core::ffi::c_uint;
+#[repr(u32)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
+pub enum bpf_stats_type {
+    BPF_STATS_RUN_TIME = 0,
+}
 #[repr(C)]
 #[derive(Copy, Clone)]
 pub union bpf_attr {

+ 5 - 0
aya-obj/src/generated/linux_bindings_powerpc64.rs

@@ -476,6 +476,11 @@ pub const BPF_F_TOKEN_FD: _bindgen_ty_5 = 65536;
 pub const BPF_F_SEGV_ON_FAULT: _bindgen_ty_5 = 131072;
 pub const BPF_F_NO_USER_CONV: _bindgen_ty_5 = 262144;
 pub type _bindgen_ty_5 = ::core::ffi::c_uint;
+#[repr(u32)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
+pub enum bpf_stats_type {
+    BPF_STATS_RUN_TIME = 0,
+}
 #[repr(C)]
 #[derive(Copy, Clone)]
 pub union bpf_attr {

+ 5 - 0
aya-obj/src/generated/linux_bindings_riscv64.rs

@@ -476,6 +476,11 @@ pub const BPF_F_TOKEN_FD: _bindgen_ty_5 = 65536;
 pub const BPF_F_SEGV_ON_FAULT: _bindgen_ty_5 = 131072;
 pub const BPF_F_NO_USER_CONV: _bindgen_ty_5 = 262144;
 pub type _bindgen_ty_5 = ::core::ffi::c_uint;
+#[repr(u32)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
+pub enum bpf_stats_type {
+    BPF_STATS_RUN_TIME = 0,
+}
 #[repr(C)]
 #[derive(Copy, Clone)]
 pub union bpf_attr {

+ 5 - 0
aya-obj/src/generated/linux_bindings_s390x.rs

@@ -476,6 +476,11 @@ pub const BPF_F_TOKEN_FD: _bindgen_ty_5 = 65536;
 pub const BPF_F_SEGV_ON_FAULT: _bindgen_ty_5 = 131072;
 pub const BPF_F_NO_USER_CONV: _bindgen_ty_5 = 262144;
 pub type _bindgen_ty_5 = ::core::ffi::c_uint;
+#[repr(u32)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
+pub enum bpf_stats_type {
+    BPF_STATS_RUN_TIME = 0,
+}
 #[repr(C)]
 #[derive(Copy, Clone)]
 pub union bpf_attr {

+ 5 - 0
aya-obj/src/generated/linux_bindings_x86_64.rs

@@ -476,6 +476,11 @@ pub const BPF_F_TOKEN_FD: _bindgen_ty_5 = 65536;
 pub const BPF_F_SEGV_ON_FAULT: _bindgen_ty_5 = 131072;
 pub const BPF_F_NO_USER_CONV: _bindgen_ty_5 = 262144;
 pub type _bindgen_ty_5 = ::core::ffi::c_uint;
+#[repr(u32)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
+pub enum bpf_stats_type {
+    BPF_STATS_RUN_TIME = 0,
+}
 #[repr(C)]
 #[derive(Copy, Clone)]
 pub union bpf_attr {

+ 43 - 0
xtask/public-api/aya-obj.txt

@@ -1795,6 +1795,49 @@ impl<T> core::clone::CloneToUninit for aya_obj::generated::bpf_prog_type where T
 pub unsafe fn aya_obj::generated::bpf_prog_type::clone_to_uninit(&self, dst: *mut T)
 impl<T> core::convert::From<T> for aya_obj::generated::bpf_prog_type
 pub fn aya_obj::generated::bpf_prog_type::from(t: T) -> T
+#[repr(u32)] pub enum aya_obj::generated::bpf_stats_type
+pub aya_obj::generated::bpf_stats_type::BPF_STATS_RUN_TIME = 0
+impl core::clone::Clone for aya_obj::generated::bpf_stats_type
+pub fn aya_obj::generated::bpf_stats_type::clone(&self) -> aya_obj::generated::bpf_stats_type
+impl core::cmp::Eq for aya_obj::generated::bpf_stats_type
+impl core::cmp::PartialEq for aya_obj::generated::bpf_stats_type
+pub fn aya_obj::generated::bpf_stats_type::eq(&self, other: &aya_obj::generated::bpf_stats_type) -> bool
+impl core::fmt::Debug for aya_obj::generated::bpf_stats_type
+pub fn aya_obj::generated::bpf_stats_type::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
+impl core::hash::Hash for aya_obj::generated::bpf_stats_type
+pub fn aya_obj::generated::bpf_stats_type::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
+impl core::marker::Copy for aya_obj::generated::bpf_stats_type
+impl core::marker::StructuralPartialEq for aya_obj::generated::bpf_stats_type
+impl core::marker::Freeze for aya_obj::generated::bpf_stats_type
+impl core::marker::Send for aya_obj::generated::bpf_stats_type
+impl core::marker::Sync for aya_obj::generated::bpf_stats_type
+impl core::marker::Unpin for aya_obj::generated::bpf_stats_type
+impl core::panic::unwind_safe::RefUnwindSafe for aya_obj::generated::bpf_stats_type
+impl core::panic::unwind_safe::UnwindSafe for aya_obj::generated::bpf_stats_type
+impl<T, U> core::convert::Into<U> for aya_obj::generated::bpf_stats_type where U: core::convert::From<T>
+pub fn aya_obj::generated::bpf_stats_type::into(self) -> U
+impl<T, U> core::convert::TryFrom<U> for aya_obj::generated::bpf_stats_type where U: core::convert::Into<T>
+pub type aya_obj::generated::bpf_stats_type::Error = core::convert::Infallible
+pub fn aya_obj::generated::bpf_stats_type::try_from(value: U) -> core::result::Result<T, <T as core::convert::TryFrom<U>>::Error>
+impl<T, U> core::convert::TryInto<U> for aya_obj::generated::bpf_stats_type where U: core::convert::TryFrom<T>
+pub type aya_obj::generated::bpf_stats_type::Error = <U as core::convert::TryFrom<T>>::Error
+pub fn aya_obj::generated::bpf_stats_type::try_into(self) -> core::result::Result<U, <U as core::convert::TryFrom<T>>::Error>
+impl<T> alloc::borrow::ToOwned for aya_obj::generated::bpf_stats_type where T: core::clone::Clone
+pub type aya_obj::generated::bpf_stats_type::Owned = T
+pub fn aya_obj::generated::bpf_stats_type::clone_into(&self, target: &mut T)
+pub fn aya_obj::generated::bpf_stats_type::to_owned(&self) -> T
+impl<T> core::any::Any for aya_obj::generated::bpf_stats_type where T: 'static + core::marker::Sized
+pub fn aya_obj::generated::bpf_stats_type::type_id(&self) -> core::any::TypeId
+impl<T> core::borrow::Borrow<T> for aya_obj::generated::bpf_stats_type where T: core::marker::Sized
+pub fn aya_obj::generated::bpf_stats_type::borrow(&self) -> &T
+impl<T> core::borrow::BorrowMut<T> for aya_obj::generated::bpf_stats_type where T: core::marker::Sized
+pub fn aya_obj::generated::bpf_stats_type::borrow_mut(&mut self) -> &mut T
+impl<T> core::clone::CloneToUninit for aya_obj::generated::bpf_stats_type where T: core::clone::Clone
+pub unsafe fn aya_obj::generated::bpf_stats_type::clone_to_uninit(&self, dst: *mut T)
+impl<T> core::clone::CloneToUninit for aya_obj::generated::bpf_stats_type where T: core::marker::Copy
+pub unsafe fn aya_obj::generated::bpf_stats_type::clone_to_uninit(&self, dst: *mut T)
+impl<T> core::convert::From<T> for aya_obj::generated::bpf_stats_type
+pub fn aya_obj::generated::bpf_stats_type::from(t: T) -> T
 #[repr(u32)] pub enum aya_obj::generated::btf_func_linkage
 pub aya_obj::generated::btf_func_linkage::BTF_FUNC_EXTERN = 2
 pub aya_obj::generated::btf_func_linkage::BTF_FUNC_GLOBAL = 1