ark::perf::PerfEventSample

Defined in header “ark/perf/perf_event_decoder.hh”.


Contains a partially decoded event sample. This contains the common fields of the sample; you must use schema-specific decoders to look at the raw data.

Variables

  • uint64_t time
    The sample time that this was captured at.

  • uint32_t pid
    The PID that was active when this sample was captured.

  • uint32_t tid
    The TID that was active when this sample was captured.

  • uint32_t cpu
    The CPU that was active when this sample was captured.

  • uint64_t period
    The period of this sample.

  • core::ByteBuffer raw_data
    A byte buffer containing a reference to the raw data within the original sample. The containing sample buffer must remain in scope for the lifetime of this object.