ark::perf::SchedWakingDecoder
Defined in header “ark/perf/perf_event_decoder.hh”.
This class is capable of decoding arbitrary ‘sched_waking’ counters. It must be initialized with a schema, and then you can pass in the raw_data field from the perf event samples.
Methods
-
SchedWakingDecoder(const PerfEventSchema & schema)
Constructor. Decodes the format into a set of offsets to further decode the remaining data. -
SchedWakingCounter decode(const core::ByteBuffer & buffer)
Decodes the raw sample into a counter.