#[repr(C)]
pub struct perf_event_attr {
Show 23 fields pub type_: __u32, pub size: __u32, pub config: __u64, pub __bindgen_anon_1: perf_event_attr__bindgen_ty_1, pub sample_type: __u64, pub read_format: __u64, pub _bitfield_align_1: [u32; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8]>, pub __bindgen_anon_2: perf_event_attr__bindgen_ty_2, pub bp_type: __u32, pub __bindgen_anon_3: perf_event_attr__bindgen_ty_3, pub __bindgen_anon_4: perf_event_attr__bindgen_ty_4, pub branch_sample_type: __u64, pub sample_regs_user: __u64, pub sample_stack_user: __u32, pub clockid: __s32, pub sample_regs_intr: __u64, pub aux_watermark: __u32, pub sample_max_stack: __u16, pub __reserved_2: __u16, pub aux_sample_size: __u32, pub __reserved_3: __u32, pub sig_data: __u64,
}

Fields§

§type_: __u32§size: __u32§config: __u64§__bindgen_anon_1: perf_event_attr__bindgen_ty_1§sample_type: __u64§read_format: __u64§_bitfield_align_1: [u32; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 8]>§__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§sig_data: __u64

Implementations§

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.