Struct nc::types::perf_event_query_bpf_t
source · #[repr(C)]pub struct perf_event_query_bpf_t {
pub ids_len: u32,
pub prog_cnt: u32,
pub ids: *mut u32,
}
Expand description
Structure used by below PERF_EVENT_IOC_QUERY_BPF
command
to query bpf programs attached to the same perf tracepoint
as the given perf event.
Fields§
§ids_len: u32
The below ids array length
prog_cnt: u32
Set by the kernel to indicate the number of available programs
ids: *mut u32
User provided buffer to store program ids
Auto Trait Implementations§
impl Freeze for perf_event_query_bpf_t
impl RefUnwindSafe for perf_event_query_bpf_t
impl !Send for perf_event_query_bpf_t
impl !Sync for perf_event_query_bpf_t
impl Unpin for perf_event_query_bpf_t
impl UnwindSafe for perf_event_query_bpf_t
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more