Lines Matching refs:HeapprofdMode
123 HeapprofdProducer::HeapprofdProducer(HeapprofdMode mode, in HeapprofdProducer()
130 if (mode == HeapprofdMode::kCentral) { in HeapprofdProducer()
139 if (mode_ == HeapprofdMode::kCentral && bool(listening_socket_)) in ~HeapprofdProducer()
168 PERFETTO_DCHECK(mode_ == HeapprofdMode::kChild); in AdoptTargetProcessSocket()
181 mode_ == HeapprofdMode::kCentral ? "central" : "child"); in OnConnect()
193 if (mode_ == HeapprofdMode::kChild) { in OnDisconnect()
256 if (mode_ == HeapprofdMode::kChild) in Restart()
259 HeapprofdMode mode = mode_; in Restart()
271 PERFETTO_DCHECK(mode_ == HeapprofdMode::kChild); in ScheduleActiveDataSourceWatchdog()
287 PERFETTO_DCHECK(mode_ == HeapprofdMode::kChild); in ActiveDataSourceWatchdogCheck()
314 PERFETTO_CHECK(mode_ == HeapprofdMode::kChild); in TerminateProcess()
323 if (mode_ == HeapprofdMode::kChild && cfg.enable_extra_guardrails()) { in SetupDataSource()
351 if (mode_ == HeapprofdMode::kChild) { in SetupDataSource()
388 if (mode_ == HeapprofdMode::kChild) in SetupDataSource()
410 if (mode_ == HeapprofdMode::kCentral) { in StartDataSource()
420 if (mode_ == HeapprofdMode::kCentral) { in StartDataSource()
478 if (mode_ == HeapprofdMode::kCentral) in StopDataSource()
491 if (mode_ == HeapprofdMode::kChild) in StopDataSource()