Searched refs:EventTypeManager (Results 1 – 12 of 12) sorted by relevance
345 EventTypeManager EventTypeManager::instance_;347 EventTypeManager::EventTypeManager() { in EventTypeManager() function in simpleperf::EventTypeManager355 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 …]
97 class EventTypeManager {99 static EventTypeManager& Instance() { return instance_; } in Instance()100 ~EventTypeManager();114 EventTypeManager();119 static EventTypeManager instance_;
126 if (EventTypeManager::Instance().FindType(event_name) != nullptr) { in CreateProbeEventIfNotExist()139 EventTypeManager::Instance().RemoveProbeType(kprobe_event.group_name + ":" + in Clear()
111 simpleperf::EventTypeManager::Instance().ForEachType(callback); in HasPmuCounter()
121 EventTypeManager::Instance().ForEachType(callback); in PrintEventTypesOfType()
57 return EventTypeManager::Instance().WriteTracepointsToFile("/data/local/tmp/tracepoint_events"); in Run()
47 EventTypeManager::Instance().ForEachType(callback); in GetAllEvents()
251 EventTypeManager::Instance().ForEachType(callback); in GetEventNameByAttr()
224 if (EventTypeManager::Instance().GetScopedFinder() == nullptr) { in UseRecordingEnvironment()
705 if (!EventTypeManager::Instance().ReadTracepointsFromFile(*value->str_value)) { in ParseOptions()
575 if (!EventTypeManager::Instance().WriteTracepointsToFile(tracepoint_file)) { in RunCmdInApp()
986 if (!EventTypeManager::Instance().ReadTracepointsFromFile(*value->str_value)) { in ParseOptions()