#[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_: __u32size: __u32config: __u64__bindgen_anon_1: perf_event_attr__bindgen_ty_1sample_type: __u64read_format: __u64_bitfield_align_1: [u32; 0]_bitfield_1: __BindgenBitfieldUnit<[u8; 8]>__bindgen_anon_2: perf_event_attr__bindgen_ty_2bp_type: __u32__bindgen_anon_3: perf_event_attr__bindgen_ty_3__bindgen_anon_4: perf_event_attr__bindgen_ty_4branch_sample_type: __u64sample_regs_user: __u64sample_stack_user: __u32clockid: __s32sample_regs_intr: __u64aux_watermark: __u32sample_max_stack: __u16__reserved_2: __u16aux_sample_size: __u32__reserved_3: __u32sig_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.