Home
last modified time | relevance | path

Searched refs:EventReader (Results 1 – 4 of 4) sorted by relevance

/external/perfetto/src/profiling/perf/
Devent_reader.h72 class EventReader {
75 template <typename EventReader, bool>
78 static base::Optional<EventReader> ConfigureEvents(
94 ~EventReader() = default;
97 EventReader(const EventReader&) = delete;
98 EventReader& operator=(const EventReader&) = delete;
99 EventReader(EventReader&&) noexcept = default;
100 EventReader& operator=(EventReader&&) noexcept;
103 EventReader(uint32_t cpu,
Devent_reader.cc210 EventReader::EventReader(uint32_t cpu, in EventReader() function in perfetto::profiling::EventReader
219 EventReader& EventReader::operator=(EventReader&& other) noexcept { in operator =()
223 this->~EventReader(); in operator =()
224 new (this) EventReader(std::move(other)); in operator =()
228 base::Optional<EventReader> EventReader::ConfigureEvents( in ConfigureEvents()
245 return base::make_optional<EventReader>(cpu, *event_cfg.perf_attr(), in ConfigureEvents()
250 base::Optional<ParsedSample> EventReader::ReadUntilSample( in ReadUntilSample()
298 ParsedSample EventReader::ParseSampleRecord(uint32_t cpu, in ParseSampleRecord()
380 void EventReader::EnableEvents() { in EnableEvents()
385 void EventReader::DisableEvents() { in DisableEvents()
Dperf_producer.h127 std::vector<EventReader> _per_cpu_readers) in DataSourceState()
136 std::vector<EventReader> per_cpu_readers;
170 bool ReadAndParsePerCpuBuffer(EventReader* reader,
Dperf_producer.cc293 std::vector<EventReader> per_cpu_readers; in StartDataSource()
295 base::Optional<EventReader> event_reader = in StartDataSource()
296 EventReader::ConfigureEvents(cpu, event_config.value()); in StartDataSource()
488 for (EventReader& reader : ds.per_cpu_readers) { in TickDataSourceRead()
513 bool PerfProducer::ReadAndParsePerCpuBuffer(EventReader* reader, in ReadAndParsePerCpuBuffer()