integration-ebpf: avoid mentioning the size

reviewable/pr1359/r10
Tamir Duberstein 1 week ago
parent d82ed60795
commit ffa65efb36
No known key found for this signature in database

@ -18,5 +18,5 @@ static RING_BUF: RingBuf = RingBuf::with_byte_size(0, 0);
fn uprobe_cookie(ctx: ProbeContext) {
let cookie = unsafe { helpers::bpf_get_attach_cookie(ctx.as_ptr()) };
let cookie_bytes = cookie.to_le_bytes();
let _res = RING_BUF.output::<[u8; 8]>(&cookie_bytes, 0);
let _res = RING_BUF.output::<[u8]>(cookie_bytes, 0);
}

Loading…
Cancel
Save