Merge pull request #267 from aya-rs/codegen

Update libbpf to 86eb09863c1c0177e99c2c703092042d3cdba910
pull/269/head
Alessandro Decina 3 years ago committed by GitHub
commit aacf6ec110
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -633,6 +633,7 @@ pub union bpf_attr__bindgen_ty_14__bindgen_ty_2 {
pub __bindgen_anon_1: bpf_attr__bindgen_ty_14__bindgen_ty_2__bindgen_ty_1,
pub perf_event: bpf_attr__bindgen_ty_14__bindgen_ty_2__bindgen_ty_2,
pub kprobe_multi: bpf_attr__bindgen_ty_14__bindgen_ty_2__bindgen_ty_3,
pub tracing: bpf_attr__bindgen_ty_14__bindgen_ty_2__bindgen_ty_4,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
@ -656,6 +657,12 @@ pub struct bpf_attr__bindgen_ty_14__bindgen_ty_2__bindgen_ty_3 {
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct bpf_attr__bindgen_ty_14__bindgen_ty_2__bindgen_ty_4 {
pub target_btf_id: __u32,
pub cookie: __u64,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct bpf_attr__bindgen_ty_15 {
pub link_fd: __u32,
pub new_prog_fd: __u32,

@ -633,6 +633,7 @@ pub union bpf_attr__bindgen_ty_14__bindgen_ty_2 {
pub __bindgen_anon_1: bpf_attr__bindgen_ty_14__bindgen_ty_2__bindgen_ty_1,
pub perf_event: bpf_attr__bindgen_ty_14__bindgen_ty_2__bindgen_ty_2,
pub kprobe_multi: bpf_attr__bindgen_ty_14__bindgen_ty_2__bindgen_ty_3,
pub tracing: bpf_attr__bindgen_ty_14__bindgen_ty_2__bindgen_ty_4,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
@ -656,6 +657,12 @@ pub struct bpf_attr__bindgen_ty_14__bindgen_ty_2__bindgen_ty_3 {
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct bpf_attr__bindgen_ty_14__bindgen_ty_2__bindgen_ty_4 {
pub target_btf_id: __u32,
pub cookie: __u64,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct bpf_attr__bindgen_ty_15 {
pub link_fd: __u32,
pub new_prog_fd: __u32,

@ -633,6 +633,7 @@ pub union bpf_attr__bindgen_ty_14__bindgen_ty_2 {
pub __bindgen_anon_1: bpf_attr__bindgen_ty_14__bindgen_ty_2__bindgen_ty_1,
pub perf_event: bpf_attr__bindgen_ty_14__bindgen_ty_2__bindgen_ty_2,
pub kprobe_multi: bpf_attr__bindgen_ty_14__bindgen_ty_2__bindgen_ty_3,
pub tracing: bpf_attr__bindgen_ty_14__bindgen_ty_2__bindgen_ty_4,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
@ -656,6 +657,12 @@ pub struct bpf_attr__bindgen_ty_14__bindgen_ty_2__bindgen_ty_3 {
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct bpf_attr__bindgen_ty_14__bindgen_ty_2__bindgen_ty_4 {
pub target_btf_id: __u32,
pub cookie: __u64,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct bpf_attr__bindgen_ty_15 {
pub link_fd: __u32,
pub new_prog_fd: __u32,

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -1969,3 +1969,15 @@ pub unsafe fn bpf_kptr_xchg(
) -> *mut ::aya_bpf_cty::c_void = ::core::mem::transmute(194usize);
fun(map_value, ptr)
}
pub unsafe fn bpf_map_lookup_percpu_elem(
map: *mut ::aya_bpf_cty::c_void,
key: *const ::aya_bpf_cty::c_void,
cpu: __u32,
) -> *mut ::aya_bpf_cty::c_void {
let fun: unsafe extern "C" fn(
map: *mut ::aya_bpf_cty::c_void,
key: *const ::aya_bpf_cty::c_void,
cpu: __u32,
) -> *mut ::aya_bpf_cty::c_void = ::core::mem::transmute(195usize);
fun(map, key, cpu)
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -1969,3 +1969,15 @@ pub unsafe fn bpf_kptr_xchg(
) -> *mut ::aya_bpf_cty::c_void = ::core::mem::transmute(194usize);
fun(map_value, ptr)
}
pub unsafe fn bpf_map_lookup_percpu_elem(
map: *mut ::aya_bpf_cty::c_void,
key: *const ::aya_bpf_cty::c_void,
cpu: __u32,
) -> *mut ::aya_bpf_cty::c_void {
let fun: unsafe extern "C" fn(
map: *mut ::aya_bpf_cty::c_void,
key: *const ::aya_bpf_cty::c_void,
cpu: __u32,
) -> *mut ::aya_bpf_cty::c_void = ::core::mem::transmute(195usize);
fun(map, key, cpu)
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -1969,3 +1969,15 @@ pub unsafe fn bpf_kptr_xchg(
) -> *mut ::aya_bpf_cty::c_void = ::core::mem::transmute(194usize);
fun(map_value, ptr)
}
pub unsafe fn bpf_map_lookup_percpu_elem(
map: *mut ::aya_bpf_cty::c_void,
key: *const ::aya_bpf_cty::c_void,
cpu: __u32,
) -> *mut ::aya_bpf_cty::c_void {
let fun: unsafe extern "C" fn(
map: *mut ::aya_bpf_cty::c_void,
key: *const ::aya_bpf_cty::c_void,
cpu: __u32,
) -> *mut ::aya_bpf_cty::c_void = ::core::mem::transmute(195usize);
fun(map, key, cpu)
}

Loading…
Cancel
Save