Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Dcmd_monitor.cpp144 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_record.cpp351 event_selection_set_(false), in RecordCommand()
438 EventSelectionSet event_selection_set_; member in simpleperf::__anon22e2a7220111::RecordCommand
521 ProbeEvents probe_events(event_selection_set_); in Run()
575 if (event_selection_set_.empty()) { in PrepareRecording()
586 if (!event_selection_set_.AddEventType(event_type)) { in PrepareRecording()
592 exclude_kernel_callchain_ = event_selection_set_.ExcludeKernel(); in PrepareRecording()
601 if (!event_selection_set_.AddCounters(add_counters_)) { in PrepareRecording()
620 event_selection_set_.AddMonitoredThreads({-1}); in PrepareRecording()
621 } else if (!event_selection_set_.HasMonitoredTarget()) { in PrepareRecording()
623 event_selection_set_.AddMonitoredProcesses({workload->GetPid()}); in PrepareRecording()
[all …]
Dcmd_stat.cpp445 event_selection_set_(true), in StatCommand()
475 EventSelectionSet event_selection_set_; member in simpleperf::__anon3ff1e7bf0211::StatCommand
502 ProbeEvents probe_events(event_selection_set_); in Run()
513 output_filename_, !event_selection_set_.GetTracepointEvents().empty()); in Run()
522 if (event_selection_set_.empty()) { in Run()
540 event_selection_set_.AddMonitoredProcesses(GetAllProcesses()); in Run()
542 event_selection_set_.AddMonitoredThreads({-1}); in Run()
544 } else if (!event_selection_set_.HasMonitoredTarget()) { in Run()
546 event_selection_set_.AddMonitoredProcesses({workload->GetPid()}); in Run()
547 event_selection_set_.SetEnableCondition(false, true); in Run()
[all …]
DProbeEvents.h36 ProbeEvents(EventSelectionSet& event_selection_set) : event_selection_set_(event_selection_set) {} in ProbeEvents()
53 EventSelectionSet& event_selection_set_; variable
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()
DProbeEvents.cpp99 event_selection_set_.CloseEventFiles(); in ~ProbeEvents()