Update libbpf to 93e89b34740c509406e948c78a404dd2fba67b8b

pull/134/head
dave-tucker 3 years ago
parent 26d188c659
commit 17d43cd6f8

@ -1,4 +1,4 @@
/* automatically generated by rust-bindgen 0.59.1 */
/* automatically generated by rust-bindgen 0.59.2 */
pub type __u8 = ::std::os::raw::c_uchar;
pub type __u16 = ::std::os::raw::c_ushort;

@ -1,4 +1,4 @@
/* automatically generated by rust-bindgen 0.59.1 */
/* automatically generated by rust-bindgen 0.59.2 */
#[repr(C)]
#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
@ -717,8 +717,9 @@ pub const BTF_KIND_VAR: ::std::os::raw::c_uint = 14;
pub const BTF_KIND_DATASEC: ::std::os::raw::c_uint = 15;
pub const BTF_KIND_FLOAT: ::std::os::raw::c_uint = 16;
pub const BTF_KIND_DECL_TAG: ::std::os::raw::c_uint = 17;
pub const NR_BTF_KINDS: ::std::os::raw::c_uint = 18;
pub const BTF_KIND_MAX: ::std::os::raw::c_uint = 17;
pub const BTF_KIND_TYPE_TAG: ::std::os::raw::c_uint = 18;
pub const NR_BTF_KINDS: ::std::os::raw::c_uint = 19;
pub const BTF_KIND_MAX: ::std::os::raw::c_uint = 18;
pub type _bindgen_ty_37 = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]

@ -1,4 +1,4 @@
/* automatically generated by rust-bindgen 0.59.1 */
/* automatically generated by rust-bindgen 0.59.2 */
#[repr(C)]
#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
@ -717,8 +717,9 @@ pub const BTF_KIND_VAR: ::std::os::raw::c_uint = 14;
pub const BTF_KIND_DATASEC: ::std::os::raw::c_uint = 15;
pub const BTF_KIND_FLOAT: ::std::os::raw::c_uint = 16;
pub const BTF_KIND_DECL_TAG: ::std::os::raw::c_uint = 17;
pub const NR_BTF_KINDS: ::std::os::raw::c_uint = 18;
pub const BTF_KIND_MAX: ::std::os::raw::c_uint = 17;
pub const BTF_KIND_TYPE_TAG: ::std::os::raw::c_uint = 18;
pub const NR_BTF_KINDS: ::std::os::raw::c_uint = 19;
pub const BTF_KIND_MAX: ::std::os::raw::c_uint = 18;
pub type _bindgen_ty_37 = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]

@ -1,4 +1,4 @@
/* automatically generated by rust-bindgen 0.59.1 */
/* automatically generated by rust-bindgen 0.59.2 */
#[repr(C)]
#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
@ -717,8 +717,9 @@ pub const BTF_KIND_VAR: ::std::os::raw::c_uint = 14;
pub const BTF_KIND_DATASEC: ::std::os::raw::c_uint = 15;
pub const BTF_KIND_FLOAT: ::std::os::raw::c_uint = 16;
pub const BTF_KIND_DECL_TAG: ::std::os::raw::c_uint = 17;
pub const NR_BTF_KINDS: ::std::os::raw::c_uint = 18;
pub const BTF_KIND_MAX: ::std::os::raw::c_uint = 17;
pub const BTF_KIND_TYPE_TAG: ::std::os::raw::c_uint = 18;
pub const NR_BTF_KINDS: ::std::os::raw::c_uint = 19;
pub const BTF_KIND_MAX: ::std::os::raw::c_uint = 18;
pub type _bindgen_ty_37 = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]

@ -1809,3 +1809,19 @@ pub unsafe fn bpf_kallsyms_lookup_name(
) -> ::aya_bpf_cty::c_long = ::core::mem::transmute(179usize);
fun(name, name_sz, flags, res)
}
pub unsafe fn bpf_find_vma(
task: *mut task_struct,
addr: __u64,
callback_fn: *mut ::aya_bpf_cty::c_void,
callback_ctx: *mut ::aya_bpf_cty::c_void,
flags: __u64,
) -> ::aya_bpf_cty::c_long {
let fun: unsafe extern "C" fn(
task: *mut task_struct,
addr: __u64,
callback_fn: *mut ::aya_bpf_cty::c_void,
callback_ctx: *mut ::aya_bpf_cty::c_void,
flags: __u64,
) -> ::aya_bpf_cty::c_long = ::core::mem::transmute(180usize);
fun(task, addr, callback_fn, callback_ctx, flags)
}

@ -1809,3 +1809,19 @@ pub unsafe fn bpf_kallsyms_lookup_name(
) -> ::aya_bpf_cty::c_long = ::core::mem::transmute(179usize);
fun(name, name_sz, flags, res)
}
pub unsafe fn bpf_find_vma(
task: *mut task_struct,
addr: __u64,
callback_fn: *mut ::aya_bpf_cty::c_void,
callback_ctx: *mut ::aya_bpf_cty::c_void,
flags: __u64,
) -> ::aya_bpf_cty::c_long {
let fun: unsafe extern "C" fn(
task: *mut task_struct,
addr: __u64,
callback_fn: *mut ::aya_bpf_cty::c_void,
callback_ctx: *mut ::aya_bpf_cty::c_void,
flags: __u64,
) -> ::aya_bpf_cty::c_long = ::core::mem::transmute(180usize);
fun(task, addr, callback_fn, callback_ctx, flags)
}

@ -1809,3 +1809,19 @@ pub unsafe fn bpf_kallsyms_lookup_name(
) -> ::aya_bpf_cty::c_long = ::core::mem::transmute(179usize);
fun(name, name_sz, flags, res)
}
pub unsafe fn bpf_find_vma(
task: *mut task_struct,
addr: __u64,
callback_fn: *mut ::aya_bpf_cty::c_void,
callback_ctx: *mut ::aya_bpf_cty::c_void,
flags: __u64,
) -> ::aya_bpf_cty::c_long {
let fun: unsafe extern "C" fn(
task: *mut task_struct,
addr: __u64,
callback_fn: *mut ::aya_bpf_cty::c_void,
callback_ctx: *mut ::aya_bpf_cty::c_void,
flags: __u64,
) -> ::aya_bpf_cty::c_long = ::core::mem::transmute(180usize);
fun(task, addr, callback_fn, callback_ctx, flags)
}

Loading…
Cancel
Save