Home
last modified time | relevance | path

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

/external/perfetto/src/tracing/core/
Dtracing_service_impl.cc257 TracingSession* tracing_session; in DetachConsumer() local
258 if (!tsid || !(tracing_session = GetTracingSession(tsid))) in DetachConsumer()
267 PERFETTO_DCHECK(tracing_session->consumer_maybe_null == consumer); in DetachConsumer()
268 tracing_session->consumer_maybe_null = nullptr; in DetachConsumer()
269 tracing_session->detach_key = key; in DetachConsumer()
289 auto* tracing_session = GetDetachedSession(consumer->uid_, key); in AttachConsumer() local
290 if (!tracing_session) { in AttachConsumer()
297 consumer->tracing_session_id_ = tracing_session->id; in AttachConsumer()
298 tracing_session->consumer_maybe_null = consumer; in AttachConsumer()
299 tracing_session->detach_key.clear(); in AttachConsumer()
[all …]
Dtracing_service_impl_unittest.cc122 TracingServiceImpl::TracingSession* tracing_session() { in tracing_session() function in perfetto::TracingServiceImplTest
144 return tracing_session()->pending_flushes.size(); in GetNumPendingFlushes()
148 tracing_session()->last_snapshot_time = base::TimeMillis(0); in WaitForNextSyncMarker()
150 while (tracing_session()->last_snapshot_time == base::TimeMillis(0)) { in WaitForNextSyncMarker()
177 for (const auto& kv : tracing_session()->data_source_instances) { in GetDataSourceInstanceState()
318 ASSERT_EQ(1u, tracing_session()->received_triggers.size()); in TEST_F()
320 tracing_session()->received_triggers[0].trigger_name); in TEST_F()
727 ASSERT_EQ(1u, tracing_session()->received_triggers.size()); in TEST_F()
729 tracing_session()->received_triggers[0].trigger_name); in TEST_F()
802 ASSERT_EQ(2u, tracing_session()->received_triggers.size()); in TEST_F()
[all …]
Dtracing_service_impl.h504 TracingSession* tracing_session,
509 TraceStats GetTraceStats(TracingSession* tracing_session);
520 void ScrapeSharedMemoryBuffers(TracingSession* tracing_session,