ark::perf::PerfEventSchema

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


A configuration structure for this handle this contains information that is necessary to decode the perf events.

Methods

  • bool operator==(const PerfEventSchema & other)
    Comparison operator for testing.

Variables

  • uint64_t sample_type
    The types of samples that are active (ie, TID, TIME, CPU, etc). Maps to the existing Linux defines for PERF_SAMPLE_TID, etc.

  • uint64_t config
    The configuration number of the schema, as captured from sysfs. For example, this would be the ‘id’ field.

  • std::string event_name
    The event name (for example, in the format of ‘sched/sched_waking’).

  • std::string format
    The format of the schema, as captured from sysfs.