Searched refs:collector_sp (Results 1 – 1 of 1) sorted by relevance
91 static void TrackCollector(const DarwinLogCollectorSP &collector_sp) { in TrackCollector() argument93 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() argument105 std::remove(s_collectors.begin(), s_collectors.end(), collector_sp), in StopTrackingCollector()111 for (const auto &collector_sp : s_collectors) { in FindCollectorForProcess() local112 if (collector_sp && (collector_sp->GetProcessID() == pid)) in FindCollectorForProcess()113 return collector_sp; in FindCollectorForProcess()381 DarwinLogCollectorSP collector_sp( in StartCollectingForProcess() local383 std::weak_ptr<DarwinLogCollector> collector_wp(collector_sp); in StartCollectingForProcess()[all …]