Home
last modified time | relevance | path

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

/external/llvm-project/lldb/tools/debugserver/source/MacOSX/DarwinLog/
DDarwinLogCollector.cpp91 static void TrackCollector(const DarwinLogCollectorSP &collector_sp) { in TrackCollector() argument
93 if (std::find(s_collectors.begin(), s_collectors.end(), collector_sp) != in TrackCollector()
99 s_collectors.push_back(collector_sp); in TrackCollector()
102 static void StopTrackingCollector(const DarwinLogCollectorSP &collector_sp) { in StopTrackingCollector() argument
105 std::remove(s_collectors.begin(), s_collectors.end(), collector_sp), in StopTrackingCollector()
111 for (const auto &collector_sp : s_collectors) { in FindCollectorForProcess() local
112 if (collector_sp && (collector_sp->GetProcessID() == pid)) in FindCollectorForProcess()
113 return collector_sp; in FindCollectorForProcess()
381 DarwinLogCollectorSP collector_sp( in StartCollectingForProcess() local
383 std::weak_ptr<DarwinLogCollector> collector_wp(collector_sp); in StartCollectingForProcess()
[all …]