Structs

These aren’t emitted by the kernel any more - the kernel uses MMAP2 events these days. However, perf record still emits synthetic MMAP events (not MMAP2!) for the kernel image. So if you want to symbolicate kernel addresses you still need to process these. The kernel image MMAP events have pid -1.

A list of threads, usually without names.

Enums

Whether a task was in the TASK_RUNNING state when it was switched away from.

Functions

Get the event ID from an event record, if the sample format includes SampleFormat::IDENTIFIER.