Searched refs:PerfCounter (Results 1 – 4 of 4) sorted by relevance
/external/perfetto/src/profiling/perf/ |
D | event_config.cc | 132 std::optional<PerfCounter> ToPerfCounter( in ToPerfCounter() 138 return PerfCounter::BuiltinCounter(name, PerfEvents::SW_CPU_CLOCK, in ToPerfCounter() 142 return PerfCounter::BuiltinCounter(name, PerfEvents::SW_PAGE_FAULTS, in ToPerfCounter() 146 return PerfCounter::BuiltinCounter(name, PerfEvents::SW_TASK_CLOCK, in ToPerfCounter() 150 return PerfCounter::BuiltinCounter(name, PerfEvents::SW_CONTEXT_SWITCHES, in ToPerfCounter() 154 return PerfCounter::BuiltinCounter(name, PerfEvents::SW_CPU_MIGRATIONS, in ToPerfCounter() 158 return PerfCounter::BuiltinCounter(name, PerfEvents::SW_PAGE_FAULTS_MIN, in ToPerfCounter() 162 return PerfCounter::BuiltinCounter(name, PerfEvents::SW_PAGE_FAULTS_MAJ, in ToPerfCounter() 166 return PerfCounter::BuiltinCounter(name, PerfEvents::SW_ALIGNMENT_FAULTS, in ToPerfCounter() 170 return PerfCounter::BuiltinCounter(name, PerfEvents::SW_EMULATION_FAULTS, in ToPerfCounter() [all …]
|
D | event_config.h | 71 struct PerfCounter { struct 96 static PerfCounter BuiltinCounter(std::string name, argument 101 static PerfCounter Tracepoint(std::string name, 106 static PerfCounter RawEvent(std::string name, 146 const PerfCounter& timebase_event() const { return timebase_event_; } in timebase_event() 155 const PerfCounter& timebase_event, 173 const PerfCounter timebase_event_;
|
D | event_reader.cc | 70 bool MaybeApplyTracepointFilter(int fd, const PerfCounter& event) { in MaybeApplyTracepointFilter() 71 if (event.type != PerfCounter::Type::kTracepoint || in MaybeApplyTracepointFilter()
|
D | perf_producer.cc | 167 const PerfCounter& timebase = event_config.timebase_event(); in WritePerfEventDefaultsPacket() 169 case PerfCounter::Type::kBuiltinCounter: { in WritePerfEventDefaultsPacket() 174 case PerfCounter::Type::kTracepoint: { in WritePerfEventDefaultsPacket() 180 case PerfCounter::Type::kRawEvent: { in WritePerfEventDefaultsPacket()
|