Struct perfcnt::linux::perf_format::SampleRecord [] [src]

pub struct SampleRecord {
    pub sample_id: Option<u64>,
    pub ip: Option<u64>,
    pub ptid: Option<ThreadId>,
    pub time: Option<u64>,
    pub addr: Option<u64>,
    pub id: Option<u64>,
    pub stream_id: Option<u64>,
    pub cpu: Option<Cpu>,
    pub period: Option<u64>,
    pub v: Option<ReadFormat>,
    pub ips: Option<Vec<u64>>,
    pub raw: Option<Vec<u8>>,
    pub lbr: Option<Vec<BranchEntry>>,
    pub abi_user: Option<u64>,
    pub regs_user: Option<Vec<u64>>,
    pub user_stack: Option<Vec<u8>>,
    pub dyn_size: Option<u64>,
    pub weight: Option<u64>,
    pub data_src: Option<u64>,
    pub transaction: Option<u64>,
    pub abi: Option<u64>,
    pub regs_intr: Option<Vec<u64>>,
}

This record indicates a sample.

Fields

if PERF_SAMPLE_IDENTIFIER

if PERF_SAMPLE_IP

if PERF_SAMPLE_TID

if PERF_SAMPLE_TIME

if PERF_SAMPLE_ADDR

if PERF_SAMPLE_ID

if PERF_SAMPLE_STREAM_ID

if PERF_SAMPLE_CPU

if PERF_SAMPLE_PERIOD

if PERF_SAMPLE_READ

if PERF_SAMPLE_CALLCHAIN

if PERF_SAMPLE_RAW

if PERF_SAMPLE_REGS_USER & PERF_SAMPLE_BRANCH_STACK

PERF_SAMPLE_STACK_USER

PERF_SAMPLE_STACK_USER

PERF_SAMPLE_STACK_USER

PERF_SAMPLE_STACK_USER

if PERF_SAMPLE_WEIGHT

if PERF_SAMPLE_DATA_SRC

if PERF_SAMPLE_TRANSACTION

if PERF_SAMPLE_REGS_INTR

if PERF_SAMPLE_REGS_INTR

Trait Implementations

impl Debug for SampleRecord
[src]

Formats the value using the given formatter.