Lines Matching refs:TracingSession
245 [consumer](const std::pair<const TracingSessionID, TracingSession>& kv) {
257 TracingSession* tracing_session;
313 TracingSession* tracing_session =
403 &tracing_sessions_.emplace(tsid, TracingSession(tsid, consumer, cfg))
524 tracing_session->state = TracingSession::CONFIGURED;
544 TracingSession* tracing_session =
548 if ((tracing_session->state != TracingSession::STARTED) &&
549 (tracing_session->state != TracingSession::CONFIGURED)) {
649 if (ds_inst && tracing_session->state == TracingSession::STARTED)
657 TracingSession* tracing_session = GetTracingSession(tsid);
663 if (tracing_session->state != TracingSession::CONFIGURED) {
669 tracing_session->state = TracingSession::STARTED;
740 TracingSession* tracing_session,
757 // and then drain the buffers. The actual teardown of the TracingSession happens
762 TracingSession* tracing_session = GetTracingSession(tsid);
772 case TracingSession::DISABLED:
783 case TracingSession::DISABLING_WAITING_STOP_ACKS:
790 case TracingSession::CONFIGURED:
797 case TracingSession::STARTED:
829 tracing_session->state = TracingSession::DISABLING_WAITING_STOP_ACKS;
850 TracingSession& tracing_session = kv.second;
878 TracingSession& tracing_session = kv.second;
890 TracingSession::DISABLING_WAITING_STOP_ACKS);
950 if (tracing_session.state != TracingSession::CONFIGURED)
1000 TracingSession* tracing_session = GetTracingSession(tsid);
1002 tracing_session->state != TracingSession::DISABLING_WAITING_STOP_ACKS) {
1013 TracingSession* tracing_session) {
1014 PERFETTO_DCHECK(tracing_session->state != TracingSession::DISABLED);
1026 tracing_session->state = TracingSession::DISABLED;
1045 TracingSession* tracing_session = GetTracingSession(tsid);
1130 TracingSession* tracing_session = GetTracingSession(tsid);
1148 TracingSession* tracing_session = GetTracingSession(tsid);
1162 TracingSession* tracing_session,
1287 TracingSession* session = weak_this->GetTracingSession(tsid);
1305 TracingSession* tracing_session = GetTracingSession(tsid);
1306 if (!tracing_session || tracing_session->state != TracingSession::STARTED)
1332 TracingSession* tracing_session = GetTracingSession(tsid);
1333 if (!tracing_session || tracing_session->state != TracingSession::STARTED)
1381 TracingSession* tracing_session = GetTracingSession(tsid);
1602 if (tracing_session->state == TracingSession::STARTED)
1635 TracingSession* tracing_session = GetTracingSession(tsid);
1693 TracingSession& tracing_session = iter.second;
1694 if (tracing_session.state != TracingSession::STARTED &&
1695 tracing_session.state != TracingSession::CONFIGURED) {
1712 if (ds_inst && tracing_session.state == TracingSession::STARTED)
1762 TracingSession* tracing_session) {
1990 TracingServiceImpl::TracingSession* TracingServiceImpl::GetDetachedSession(
1995 TracingSession* session = &kv.second;
2004 TracingServiceImpl::TracingSession* TracingServiceImpl::GetTracingSession(
2039 tracing_session_ptr->state == TracingSession::CONFIGURED) {
2040 PERFETTO_DLOG("Disabling TracingSession %" PRIu64
2167 void TracingServiceImpl::SnapshotStats(TracingSession* tracing_session,
2181 TraceStats TracingServiceImpl::GetTraceStats(TracingSession* tracing_session) {
2206 TracingSession* tracing_session,
2222 TracingSession* tracing_session,
2248 TracingSession* tracing_session,
2386 TracingSession* session =
2400 TracingSession* session = service_->GetTracingSession(tracing_session_id_);
2423 TracingSession* session = service_->GetTracingSession(tracing_session_id_);
2749 // TracingServiceImpl::TracingSession implementation
2752 TracingServiceImpl::TracingSession::TracingSession(