Home
last modified time | relevance | path

Searched refs:EventTypeManager (Results 1 – 12 of 12) sorted by relevance

/system/extras/simpleperf/
Devent_type.cpp345 EventTypeManager EventTypeManager::instance_;
347 EventTypeManager::EventTypeManager() { in EventTypeManager() function in simpleperf::EventTypeManager
355 EventTypeManager::~EventTypeManager() {} in ~EventTypeManager()
357 std::unique_ptr<EventTypeFinder>& EventTypeManager::GetFinder(EventFinderType type) { in GetFinder()
367 RawTypeFinder& EventTypeManager::GetRawTypeFinder() { in GetRawTypeFinder()
371 TracepointSystemFinder& EventTypeManager::GetTracepointSystemFinder() { in GetTracepointSystemFinder()
375 bool EventTypeManager::ReadTracepointsFromFile(const std::string& filepath) { in ReadTracepointsFromFile()
387 bool EventTypeManager::WriteTracepointsToFile(const std::string& filepath) { in WriteTracepointsToFile()
397 bool EventTypeManager::ForEachType(const std::function<bool(const EventType&)>& callback) { in ForEachType()
416 const EventType* EventTypeManager::FindType(const std::string& name) { in FindType()
[all …]
Devent_type.h97 class EventTypeManager {
99 static EventTypeManager& Instance() { return instance_; } in Instance()
100 ~EventTypeManager();
114 EventTypeManager();
119 static EventTypeManager instance_;
DProbeEvents.cpp126 if (EventTypeManager::Instance().FindType(event_name) != nullptr) { in CreateProbeEventIfNotExist()
139 EventTypeManager::Instance().RemoveProbeType(kprobe_event.group_name + ":" + in Clear()
Dtest_util.cpp111 simpleperf::EventTypeManager::Instance().ForEachType(callback); in HasPmuCounter()
Dcmd_list.cpp121 EventTypeManager::Instance().ForEachType(callback); in PrintEventTypesOfType()
Dcmd_api.cpp57 return EventTypeManager::Instance().WriteTracepointsToFile("/data/local/tmp/tracepoint_events"); in Run()
Drecord_lib_interface.cpp47 EventTypeManager::Instance().ForEachType(callback); in GetAllEvents()
Devent_attr.cpp251 EventTypeManager::Instance().ForEachType(callback); in GetEventNameByAttr()
Drecord_file_reader.cpp224 if (EventTypeManager::Instance().GetScopedFinder() == nullptr) { in UseRecordingEnvironment()
Dcmd_stat.cpp705 if (!EventTypeManager::Instance().ReadTracepointsFromFile(*value->str_value)) { in ParseOptions()
Denvironment.cpp575 if (!EventTypeManager::Instance().WriteTracepointsToFile(tracepoint_file)) { in RunCmdInApp()
Dcmd_record.cpp986 if (!EventTypeManager::Instance().ReadTracepointsFromFile(*value->str_value)) { in ParseOptions()