Searched refs:tracing_session (Results 1 – 8 of 8) sorted by relevance
495 TracingSession* tracing_session; in DetachConsumer() local496 if (!tsid || !(tracing_session = GetTracingSession(tsid))) in DetachConsumer()505 PERFETTO_DCHECK(tracing_session->consumer_maybe_null == consumer); in DetachConsumer()506 tracing_session->consumer_maybe_null = nullptr; in DetachConsumer()507 tracing_session->detach_key = key; in DetachConsumer()527 auto* tracing_session = GetDetachedSession(consumer->uid_, key); in AttachConsumer() local528 if (!tracing_session) { in AttachConsumer()535 consumer->tracing_session_id_ = tracing_session->id; in AttachConsumer()536 tracing_session->consumer_maybe_null = consumer; in AttachConsumer()537 tracing_session->detach_key.clear(); in AttachConsumer()[all …]
135 TracingServiceImpl::TracingSession* tracing_session() { in tracing_session() function in perfetto::TracingServiceImplTest157 return tracing_session()->pending_flushes.size(); in GetNumPendingFlushes()161 tracing_session()->should_emit_sync_marker = true; in WaitForNextSyncMarker()163 while (tracing_session()->should_emit_sync_marker) { in WaitForNextSyncMarker()190 for (const auto& kv : tracing_session()->data_source_instances) { in GetDataSourceInstanceState()376 ASSERT_EQ(1u, tracing_session()->received_triggers.size()); in TEST_F()378 tracing_session()->received_triggers[0].trigger_name); in TEST_F()787 ASSERT_EQ(1u, tracing_session()->received_triggers.size()); in TEST_F()789 tracing_session()->received_triggers[0].trigger_name); in TEST_F()860 ASSERT_EQ(2u, tracing_session()->received_triggers.size()); in TEST_F()[all …]
446 perfetto::TracingSession* tracing_session) { in ReadLogMessagesFromTrace() argument447 std::vector<char> raw_trace = tracing_session->ReadTraceBlocking(); in ReadLogMessagesFromTrace()500 perfetto::TracingSession* tracing_session) { in ReadSlicesFromTrace() argument501 std::vector<char> raw_trace = tracing_session->ReadTraceBlocking(); in ReadSlicesFromTrace()724 auto* tracing_session = NewTrace(cfg); in TEST_P() local726 tracing_session->get()->StartBlocking(); in TEST_P()727 tracing_session->get()->StopBlocking(); in TEST_P()800 auto* tracing_session = NewTrace(trace_config); in TEST_P() local802 tracing_session->get()->StartBlocking(); in TEST_P()811 tracing_session->get()->ChangeTraceConfig(trace_config); in TEST_P()[all …]
55 auto tracing_session = in StartTracing() local57 tracing_session->Setup(cfg); in StartTracing()58 tracing_session->StartBlocking(); in StartTracing()59 return tracing_session; in StartTracing()63 auto tracing_session = StartTracing("benchmark"); in BM_TracingDataSourceLambda() local74 tracing_session->StopBlocking(); in BM_TracingDataSourceLambda()75 PERFETTO_CHECK(!tracing_session->ReadTraceBlocking().empty()); in BM_TracingDataSourceLambda()86 auto tracing_session = StartTracing("track_event"); in BM_TracingTrackEventBasic() local93 tracing_session->StopBlocking(); in BM_TracingTrackEventBasic()94 PERFETTO_CHECK(!tracing_session->ReadTraceBlocking().empty()); in BM_TracingTrackEventBasic()[all …]
65 auto tracing_session = perfetto::Tracing::NewTrace(); in StartTracing() local66 tracing_session->Setup(cfg); in StartTracing()67 tracing_session->StartBlocking(); in StartTracing()68 return tracing_session; in StartTracing()71 void StopTracing(std::unique_ptr<perfetto::TracingSession> tracing_session) { in StopTracing() argument77 tracing_session->StopBlocking(); in StopTracing()78 std::vector<char> trace_data(tracing_session->ReadTraceBlocking()); in StopTracing()92 auto tracing_session = StartTracing(); in main() local101 StopTracing(std::move(tracing_session)); in main()
45 auto tracing_session = perfetto::Tracing::NewTrace(); in StartTracing() local46 tracing_session->Setup(cfg); in StartTracing()47 tracing_session->StartBlocking(); in StartTracing()48 return tracing_session; in StartTracing()51 void StopTracing(std::unique_ptr<perfetto::TracingSession> tracing_session) { in StopTracing() argument56 tracing_session->StopBlocking(); in StopTracing()57 std::vector<char> trace_data(tracing_session->ReadTraceBlocking()); in StopTracing()88 auto tracing_session = StartTracing(); in main() local99 StopTracing(std::move(tracing_session)); in main()
42 auto tracing_session = perfetto::Tracing::NewTrace(); in StartTracing() local43 tracing_session->Setup(cfg); in StartTracing()44 tracing_session->StartBlocking(); in StartTracing()45 return tracing_session; in StartTracing()65 auto tracing_session = StartTracing(); in main() local70 tracing_session->StopBlocking(); in main()
350 std::unique_ptr<perfetto::TracingSession> tracing_session(352 tracing_session->Setup(cfg);353 tracing_session->StartBlocking();365 tracing_session->StopBlocking();366 std::vector<char> trace_data(tracing_session->ReadTraceBlocking());381 tracing_session->Setup(cfg, fd);382 tracing_session->StartBlocking();384 tracing_session->StopBlocking();