Module perfcnt::linux::perf_format[][src]

Contains the various data format structures as used by perf

In order to parse these structures from perf files or perf MMAP buffers, please have a look at the functions in parser.rs.

Structs

BranchEntry
BuildIdRecord
CommRecord
Cpu

Generic CPU description. Used in many different perf structures.

CpuTopology
Event
EventAttr
EventAttrFlags
EventDesc
EventHeader
ExitRecord

This record indicates a process exit event.

ForkRecord

This record indicates a fork event.

GroupDesc
HeaderFlags
LostRecord
MMAP2Record
MMAPRecord

The MMAP events record the PROT_EXEC mappings so that we can correlate user-space IPs to code.

NrCpus
NumaNode
PerfFileHeader
PerfFileSection
PmuMapping
ReadFormat

We use the same read format for READ_FORMAT_GROUP and non-grouped reads for simplicity

ReadFormatFlags
ReadRecord
SampleFormatFlags
SampleId
SampleRecord

This record indicates a sample.

ThreadId

Unique thread descriptor. Used in many different perf structures.

ThrottleRecord
UnthrottleRecord

Enums

EventAttrType
EventData
EventType
HeaderFlag