Lines Matching refs:event_config
90 void WritePerfEventDefaultsPacket(const EventConfig& event_config, in WritePerfEventDefaultsPacket() argument
103 PERFETTO_DCHECK(event_config.perf_attr()->clockid == CLOCK_MONOTONIC_RAW); in WritePerfEventDefaultsPacket()
109 perf_event_attr* perf_attr = event_config.perf_attr(); in WritePerfEventDefaultsPacket()
117 const PerfCounter& timebase = event_config.timebase_event(); in WritePerfEventDefaultsPacket()
285 base::Optional<EventConfig> event_config = in StartDataSource() local
287 if (!event_config.has_value()) { in StartDataSource()
296 EventReader::ConfigureEvents(cpu, event_config.value()); in StartDataSource()
314 std::forward_as_tuple(event_config.value(), std::move(writer), in StartDataSource()
324 WritePerfEventDefaultsPacket(ds.event_config, ds.trace_writer.get()); in StartDataSource()
333 ds.event_config.kernel_frames()); in StartDataSource()
334 if (ds.event_config.unwind_state_clear_period_ms()) { in StartDataSource()
336 ds_id, ds.event_config.unwind_state_clear_period_ms()); in StartDataSource()
340 auto tick_period_ms = ds.event_config.read_tick_period_ms(); in StartDataSource()
454 WritePerfEventDefaultsPacket(ds.event_config, ds.trace_writer.get()); in ClearIncrementalState()
486 uint64_t max_samples = ds.event_config.samples_per_tick_limit(); in TickDataSourceRead()
502 auto tick_period_ms = it->second.event_config.read_tick_period_ms(); in TickDataSourceRead()
538 if (!ds->event_config.sample_callstacks()) { in ReadAndParsePerCpuBuffer()
575 const TargetFilter& filter = ds->event_config.filter(); in ReadAndParsePerCpuBuffer()
585 ds->event_config.remote_descriptor_timeout_ms()); in ReadAndParsePerCpuBuffer()
594 ds->event_config.max_enqueued_footprint_bytes(); in ReadAndParsePerCpuBuffer()
639 if (!CanProfile(ds.event_config.raw_ds_config(), uid, in OnProcDescriptors()
640 ds.event_config.target_installed_by())) { in OnProcDescriptors()