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
sample_id: Option<u64>
if PERF_SAMPLE_IDENTIFIER
ip: Option<u64>
if PERF_SAMPLE_IP
ptid: Option<ThreadId>
if PERF_SAMPLE_TID
time: Option<u64>
if PERF_SAMPLE_TIME
addr: Option<u64>
if PERF_SAMPLE_ADDR
id: Option<u64>
if PERF_SAMPLE_ID
stream_id: Option<u64>
if PERF_SAMPLE_STREAM_ID
cpu: Option<Cpu>
if PERF_SAMPLE_CPU
period: Option<u64>
if PERF_SAMPLE_PERIOD
v: Option<ReadFormat>
if PERF_SAMPLE_READ
ips: Option<Vec<u64>>
if PERF_SAMPLE_CALLCHAIN
raw: Option<Vec<u8>>
if PERF_SAMPLE_RAW
lbr: Option<Vec<BranchEntry>>
if PERF_SAMPLE_REGS_USER & PERF_SAMPLE_BRANCH_STACK
abi_user: Option<u64>
PERF_SAMPLE_STACK_USER
regs_user: Option<Vec<u64>>
PERF_SAMPLE_STACK_USER
user_stack: Option<Vec<u8>>
PERF_SAMPLE_STACK_USER
dyn_size: Option<u64>
PERF_SAMPLE_STACK_USER
weight: Option<u64>
if PERF_SAMPLE_WEIGHT
data_src: Option<u64>
if PERF_SAMPLE_DATA_SRC
transaction: Option<u64>
if PERF_SAMPLE_TRANSACTION
abi: Option<u64>
if PERF_SAMPLE_REGS_INTR
regs_intr: Option<Vec<u64>>
if PERF_SAMPLE_REGS_INTR