[][src]Struct perfcnt::linux::perf_format::EventAttr

#[repr(C)]pub struct EventAttr {
    pub attr_type: u32,
    pub size: u32,
    pub config: u64,
    pub sample_period_freq: u64,
    pub sample_type: SampleFormatFlags,
    pub read_format: ReadFormatFlags,
    pub settings: EventAttrFlags,
    pub wakeup_events_watermark: u32,
    pub bp_type: u32,
    pub config1_or_bp_addr: u64,
    pub config2_or_bp_len: u64,
    pub branch_sample_type: u64,
    pub sample_regs_user: u64,
    pub sample_stack_user: u32,
    pub clock_id: i32,
    pub sample_regs_intr: u64,
    pub aux_watermark: u32,
    pub reserved: u32,
}

Fields

attr_type: u32size: u32config: u64sample_period_freq: u64sample_type: SampleFormatFlagsread_format: ReadFormatFlagssettings: EventAttrFlagswakeup_events_watermark: u32bp_type: u32config1_or_bp_addr: u64config2_or_bp_len: u64branch_sample_type: u64sample_regs_user: u64sample_stack_user: u32clock_id: i32sample_regs_intr: u64aux_watermark: u32reserved: u32

Implementations

impl EventAttr[src]

pub fn attr_type(&self) -> EventAttrType[src]

Trait Implementations

impl Clone for EventAttr[src]

impl Copy for EventAttr[src]

impl Debug for EventAttr[src]

impl Default for EventAttr[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.