Struct perfcnt::linux::perf_format::EventAttr
[−]
[src]
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: u32
size: u32
config: u64
sample_period_freq: u64
sample_type: SampleFormatFlags
read_format: ReadFormatFlags
settings: EventAttrFlags
wakeup_events_watermark: u32
bp_type: u32
config1_or_bp_addr: u64
config2_or_bp_len: u64
branch_sample_type: u64
sample_regs_user: u64
sample_stack_user: u32
clock_id: i32
sample_regs_intr: u64
aux_watermark: u32
reserved: u32
Methods
impl EventAttr
[src]
fn attr_type(&self) -> EventAttrType
Trait Implementations
impl Clone for EventAttr
[src]
fn clone(&self) -> EventAttr
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more