Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Dcmd_record.cpp314 event_selection_set_(false), in RecordCommand()
395 EventSelectionSet event_selection_set_; member in simpleperf::__anon22e2a7220111::RecordCommand
454 event_selection_set_.CloseEventFiles(); in Run()
502 if (event_selection_set_.empty()) { in PrepareRecording()
504 if (!event_selection_set_.AddEventType(default_measured_event_type, &group_id)) { in PrepareRecording()
508 event_selection_set_.SetSampleSpeed(group_id, *sample_speed_); in PrepareRecording()
513 exclude_kernel_callchain_ = event_selection_set_.ExcludeKernel(); in PrepareRecording()
532 event_selection_set_.AddMonitoredThreads({-1}); in PrepareRecording()
533 } else if (!event_selection_set_.HasMonitoredTarget()) { in PrepareRecording()
535 event_selection_set_.AddMonitoredProcesses({workload->GetPid()}); in PrepareRecording()
[all …]
Dcmd_monitor.cpp143 event_selection_set_(false), in MonitorCommand()
183 EventSelectionSet event_selection_set_; member in simpleperf::__anon3cedfdeb0111::MonitorCommand
228 event_selection_set_.AddMonitoredThreads({-1}); in PrepareMonitoring()
235 if (!event_selection_set_.OpenEventFiles({})) { in PrepareMonitoring()
240 if (!event_selection_set_.MmapEventFiles(mmap_page_range_.first, mmap_page_range_.second, in PrepareMonitoring()
246 if (!event_selection_set_.PrepareToReadMmapEventData(callback)) { in PrepareMonitoring()
251 event_names_ = event_selection_set_.GetEventNamesById(); in PrepareMonitoring()
254 EventAttrWithId dumping_attr_id = event_selection_set_.GetEventAttrWithId()[0]; in PrepareMonitoring()
256 event_selection_set_.RecordNotExecutableMaps()); in PrepareMonitoring()
267 IOEventLoop* loop = event_selection_set_.GetIOEventLoop(); in PrepareMonitoring()
[all …]
Dcmd_stat.cpp422 event_selection_set_(true), in StatCommand()
450 EventSelectionSet event_selection_set_; member in simpleperf::__anon3ff1e7bf0211::StatCommand
482 output_filename_, !event_selection_set_.GetTracepointEvents().empty()); in Run()
491 if (event_selection_set_.empty()) { in Run()
509 event_selection_set_.AddMonitoredProcesses(GetAllProcesses()); in Run()
511 event_selection_set_.AddMonitoredThreads({-1}); in Run()
513 } else if (!event_selection_set_.HasMonitoredTarget()) { in Run()
515 event_selection_set_.AddMonitoredProcesses({workload->GetPid()}); in Run()
516 event_selection_set_.SetEnableOnExec(true); in Run()
519 event_selection_set_.AddMonitoredProcesses(pids); in Run()
[all …]
Drecord_lib_interface.cpp126 std::unique_ptr<EventSelectionSet> event_selection_set_; member in simpleperf::PerfEventSetForCounting
157 event_selection_set_ = std::move(set); in CreateEventSelectionSet()
173 CHECK(event_selection_set_); in ReadRawCounters()
175 if (!event_selection_set_->ReadCounters(&s)) { in ReadRawCounters()
215 if (event_selection_set_ == nullptr) { in StartCounters()