[−][src]Struct linux::kty::perf_event_attr
Fields
ty: __u32
size: __u32
config: __u64
sample_type: __u64
read_format: __u64
perf_flags: __u64
bp_type: __u32
branch_sample_type: __u64
sample_regs_user: __u64
sample_stack_user: __u32
__reserved_2: __u32
sample_regs_intr: __u64
Methods
impl perf_event_attr
[src]
pub fn sample_period(&self) -> __u64
[src]
pub fn set_sample_period(&mut self, val: __u64)
[src]
pub fn sample_freq(&self) -> __u64
[src]
pub fn set_sample_freq(&mut self, val: __u64)
[src]
pub fn disabled(&self) -> bool
[src]
pub fn inherit(&self) -> bool
[src]
pub fn pinned(&self) -> bool
[src]
pub fn exclusive(&self) -> bool
[src]
pub fn exclude_user(&self) -> bool
[src]
pub fn exclude_kernel(&self) -> bool
[src]
pub fn exclude_hv(&self) -> bool
[src]
pub fn exclude_idle(&self) -> bool
[src]
pub fn mmap(&self) -> bool
[src]
pub fn comm(&self) -> bool
[src]
pub fn freq(&self) -> bool
[src]
pub fn inherit_stat(&self) -> bool
[src]
pub fn enable_on_exec(&self) -> bool
[src]
pub fn task(&self) -> bool
[src]
pub fn watermark(&self) -> bool
[src]
pub fn precise_ip(&self) -> u64
[src]
pub fn mmap_data(&self) -> bool
[src]
pub fn sample_id_all(&self) -> bool
[src]
pub fn exclude_host(&self) -> bool
[src]
pub fn exclude_guest(&self) -> bool
[src]
pub fn exclude_callchain_kernel(&self) -> bool
[src]
pub fn exclude_callchain_user(&self) -> bool
[src]
pub fn mmap2(&self) -> bool
[src]
pub fn comm_exec(&self) -> bool
[src]
pub fn set_disabled(&mut self, val: bool)
[src]
pub fn set_inherit(&mut self, val: bool)
[src]
pub fn set_pinned(&mut self, val: bool)
[src]
pub fn set_exclusive(&mut self, val: bool)
[src]
pub fn set_exclude_user(&mut self, val: bool)
[src]
pub fn set_exclude_kernel(&mut self, val: bool)
[src]
pub fn set_exclude_hv(&mut self, val: bool)
[src]
pub fn set_exclude_idle(&mut self, val: bool)
[src]
pub fn set_mmap(&mut self, val: bool)
[src]
pub fn set_comm(&mut self, val: bool)
[src]
pub fn set_freq(&mut self, val: bool)
[src]
pub fn set_inherit_stat(&mut self, val: bool)
[src]
pub fn set_enable_on_exec(&mut self, val: bool)
[src]
pub fn set_task(&mut self, val: bool)
[src]
pub fn set_watermark(&mut self, val: bool)
[src]
pub fn set_precise_ip(&mut self, val: u64)
[src]
pub fn set_mmap_data(&mut self, val: bool)
[src]
pub fn set_sample_id_all(&mut self, val: bool)
[src]
pub fn set_exclude_host(&mut self, val: bool)
[src]
pub fn set_exclude_guest(&mut self, val: bool)
[src]
pub fn set_exclude_callchain_kernel(&mut self, val: bool)
[src]
pub fn set_exclude_callchain_user(&mut self, val: bool)
[src]
pub fn set_mmap2(&mut self, val: bool)
[src]
pub fn set_comm_exec(&mut self, val: bool)
[src]
pub fn wakeup_events(&self) -> __u32
[src]
pub fn set_wakeup_events(&mut self, val: __u32)
[src]
pub fn wakeup_watermark(&self) -> __u32
[src]
pub fn set_wakeup_watermark(&mut self, val: __u32)
[src]
pub fn bp_addr(&self) -> __u64
[src]
pub fn set_bp_addr(&mut self, val: __u64)
[src]
pub fn config1(&self) -> __u64
[src]
pub fn set_config1(&mut self, val: __u64)
[src]
pub fn bp_len(&self) -> __u64
[src]
pub fn set_bp_len(&mut self, val: __u64)
[src]
pub fn config2(&self) -> __u64
[src]
pub fn set_config2(&mut self, val: __u64)
[src]
Trait Implementations
impl Pod for perf_event_attr
[src]
fn _assert_pod()
[src]
impl Eq for perf_event_attr
[src]
impl PartialEq<perf_event_attr> for perf_event_attr
[src]
fn eq(&self, other: &perf_event_attr) -> bool
[src]
fn ne(&self, other: &perf_event_attr) -> bool
[src]
impl Copy for perf_event_attr
[src]
impl Clone for perf_event_attr
[src]
fn clone(&self) -> perf_event_attr
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for perf_event_attr
impl Sync for perf_event_attr
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,