Struct linux_perf_event_reader::RecordParseInfo
source · pub struct RecordParseInfo {
pub endian: Endianness,
pub sample_format: SampleFormat,
pub branch_sample_format: BranchSampleFormat,
pub read_format: ReadFormat,
pub common_data_offset_from_end: Option<u8>,
pub sample_regs_user: u64,
pub user_regs_count: u8,
pub sample_regs_intr: u64,
pub intr_regs_count: u8,
pub id_parse_info: RecordIdParseInfo,
pub nonsample_record_time_offset_from_end: Option<u8>,
pub sample_record_time_offset_from_start: Option<u8>,
}
Fields§
§endian: Endianness
§sample_format: SampleFormat
§branch_sample_format: BranchSampleFormat
§read_format: ReadFormat
§common_data_offset_from_end: Option<u8>
§sample_regs_user: u64
§user_regs_count: u8
§sample_regs_intr: u64
§intr_regs_count: u8
§id_parse_info: RecordIdParseInfo
§nonsample_record_time_offset_from_end: Option<u8>
§sample_record_time_offset_from_start: Option<u8>
Implementations§
source§impl RecordParseInfo
impl RecordParseInfo
pub fn new(attr: &PerfEventAttr, endian: Endianness) -> Self
Trait Implementations§
source§impl Clone for RecordParseInfo
impl Clone for RecordParseInfo
source§fn clone(&self) -> RecordParseInfo
fn clone(&self) -> RecordParseInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more