pub struct BpfEvent {
pub ty: BpfEventType,
pub flags: u16,
pub id: u32,
pub tag: [u8; 8],
}
Expand description
BPF_EVENT records indicate when a BPF program is loaded or unloaded.
This struct corresponds to PERF_RECORD_BPF_EVENT
. See the manpage for
more documentation.
Fields§
§ty: BpfEventType
§flags: u16
§id: u32
§tag: [u8; 8]
Trait Implementations§
impl Copy for BpfEvent
Auto Trait Implementations§
impl Freeze for BpfEvent
impl RefUnwindSafe for BpfEvent
impl Send for BpfEvent
impl Sync for BpfEvent
impl Unpin for BpfEvent
impl UnwindSafe for BpfEvent
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