[−][src]Struct perf_event_open_sys::bindings::perf_event_attr
Fields
type_: __u32
size: __u32
config: __u64
__bindgen_anon_1: perf_event_attr__bindgen_ty_1
sample_type: __u64
read_format: __u64
_bitfield_1: __BindgenBitfieldUnit<[u8; 8], u32>
__bindgen_anon_2: perf_event_attr__bindgen_ty_2
bp_type: __u32
__bindgen_anon_3: perf_event_attr__bindgen_ty_3
__bindgen_anon_4: perf_event_attr__bindgen_ty_4
branch_sample_type: __u64
sample_regs_user: __u64
sample_stack_user: __u32
clockid: __s32
sample_regs_intr: __u64
aux_watermark: __u32
sample_max_stack: __u16
__reserved_2: __u16
aux_sample_size: __u32
__reserved_3: __u32
Implementations
impl perf_event_attr
[src]
pub fn disabled(&self) -> __u64
[src]
pub fn set_disabled(&mut self, val: __u64)
[src]
pub fn inherit(&self) -> __u64
[src]
pub fn set_inherit(&mut self, val: __u64)
[src]
pub fn pinned(&self) -> __u64
[src]
pub fn set_pinned(&mut self, val: __u64)
[src]
pub fn exclusive(&self) -> __u64
[src]
pub fn set_exclusive(&mut self, val: __u64)
[src]
pub fn exclude_user(&self) -> __u64
[src]
pub fn set_exclude_user(&mut self, val: __u64)
[src]
pub fn exclude_kernel(&self) -> __u64
[src]
pub fn set_exclude_kernel(&mut self, val: __u64)
[src]
pub fn exclude_hv(&self) -> __u64
[src]
pub fn set_exclude_hv(&mut self, val: __u64)
[src]
pub fn exclude_idle(&self) -> __u64
[src]
pub fn set_exclude_idle(&mut self, val: __u64)
[src]
pub fn mmap(&self) -> __u64
[src]
pub fn set_mmap(&mut self, val: __u64)
[src]
pub fn comm(&self) -> __u64
[src]
pub fn set_comm(&mut self, val: __u64)
[src]
pub fn freq(&self) -> __u64
[src]
pub fn set_freq(&mut self, val: __u64)
[src]
pub fn inherit_stat(&self) -> __u64
[src]
pub fn set_inherit_stat(&mut self, val: __u64)
[src]
pub fn enable_on_exec(&self) -> __u64
[src]
pub fn set_enable_on_exec(&mut self, val: __u64)
[src]
pub fn task(&self) -> __u64
[src]
pub fn set_task(&mut self, val: __u64)
[src]
pub fn watermark(&self) -> __u64
[src]
pub fn set_watermark(&mut self, val: __u64)
[src]
pub fn precise_ip(&self) -> __u64
[src]
pub fn set_precise_ip(&mut self, val: __u64)
[src]
pub fn mmap_data(&self) -> __u64
[src]
pub fn set_mmap_data(&mut self, val: __u64)
[src]
pub fn sample_id_all(&self) -> __u64
[src]
pub fn set_sample_id_all(&mut self, val: __u64)
[src]
pub fn exclude_host(&self) -> __u64
[src]
pub fn set_exclude_host(&mut self, val: __u64)
[src]
pub fn exclude_guest(&self) -> __u64
[src]
pub fn set_exclude_guest(&mut self, val: __u64)
[src]
pub fn exclude_callchain_kernel(&self) -> __u64
[src]
pub fn set_exclude_callchain_kernel(&mut self, val: __u64)
[src]
pub fn exclude_callchain_user(&self) -> __u64
[src]
pub fn set_exclude_callchain_user(&mut self, val: __u64)
[src]
pub fn mmap2(&self) -> __u64
[src]
pub fn set_mmap2(&mut self, val: __u64)
[src]
pub fn comm_exec(&self) -> __u64
[src]
pub fn set_comm_exec(&mut self, val: __u64)
[src]
pub fn use_clockid(&self) -> __u64
[src]
pub fn set_use_clockid(&mut self, val: __u64)
[src]
pub fn context_switch(&self) -> __u64
[src]
pub fn set_context_switch(&mut self, val: __u64)
[src]
pub fn write_backward(&self) -> __u64
[src]
pub fn set_write_backward(&mut self, val: __u64)
[src]
pub fn namespaces(&self) -> __u64
[src]
pub fn set_namespaces(&mut self, val: __u64)
[src]
pub fn ksymbol(&self) -> __u64
[src]
pub fn set_ksymbol(&mut self, val: __u64)
[src]
pub fn bpf_event(&self) -> __u64
[src]
pub fn set_bpf_event(&mut self, val: __u64)
[src]
pub fn aux_output(&self) -> __u64
[src]
pub fn set_aux_output(&mut self, val: __u64)
[src]
pub fn __reserved_1(&self) -> __u64
[src]
pub fn set___reserved_1(&mut self, val: __u64)
[src]
pub fn new_bitfield_1(
disabled: __u64,
inherit: __u64,
pinned: __u64,
exclusive: __u64,
exclude_user: __u64,
exclude_kernel: __u64,
exclude_hv: __u64,
exclude_idle: __u64,
mmap: __u64,
comm: __u64,
freq: __u64,
inherit_stat: __u64,
enable_on_exec: __u64,
task: __u64,
watermark: __u64,
precise_ip: __u64,
mmap_data: __u64,
sample_id_all: __u64,
exclude_host: __u64,
exclude_guest: __u64,
exclude_callchain_kernel: __u64,
exclude_callchain_user: __u64,
mmap2: __u64,
comm_exec: __u64,
use_clockid: __u64,
context_switch: __u64,
write_backward: __u64,
namespaces: __u64,
ksymbol: __u64,
bpf_event: __u64,
aux_output: __u64,
__reserved_1: __u64
) -> __BindgenBitfieldUnit<[u8; 8], u32>
[src]
disabled: __u64,
inherit: __u64,
pinned: __u64,
exclusive: __u64,
exclude_user: __u64,
exclude_kernel: __u64,
exclude_hv: __u64,
exclude_idle: __u64,
mmap: __u64,
comm: __u64,
freq: __u64,
inherit_stat: __u64,
enable_on_exec: __u64,
task: __u64,
watermark: __u64,
precise_ip: __u64,
mmap_data: __u64,
sample_id_all: __u64,
exclude_host: __u64,
exclude_guest: __u64,
exclude_callchain_kernel: __u64,
exclude_callchain_user: __u64,
mmap2: __u64,
comm_exec: __u64,
use_clockid: __u64,
context_switch: __u64,
write_backward: __u64,
namespaces: __u64,
ksymbol: __u64,
bpf_event: __u64,
aux_output: __u64,
__reserved_1: __u64
) -> __BindgenBitfieldUnit<[u8; 8], u32>
Trait Implementations
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]
impl Copy for perf_event_attr
[src]
impl Default for perf_event_attr
[src]
Auto Trait Implementations
impl RefUnwindSafe for perf_event_attr
impl Send for perf_event_attr
impl Sync for perf_event_attr
impl Unpin for perf_event_attr
impl UnwindSafe for perf_event_attr
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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> 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>,