pub struct HeaderAttr {
pub attr: PerfEventAttr,
pub ids: Vec<u64>,
}Expand description
PERF_RECORD_HEADER_ATTR - Contains event attribute and associated event IDs
Used in pipe mode to transmit event attribute information that would otherwise be in the attrs section of a regular perf.data file.
Fields§
§attr: PerfEventAttr§ids: Vec<u64>Implementations§
Trait Implementations§
Source§impl Clone for HeaderAttr
impl Clone for HeaderAttr
Auto Trait Implementations§
impl Freeze for HeaderAttr
impl RefUnwindSafe for HeaderAttr
impl Send for HeaderAttr
impl Sync for HeaderAttr
impl Unpin for HeaderAttr
impl UnsafeUnpin for HeaderAttr
impl UnwindSafe for HeaderAttr
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