Home
last modified time | relevance | path

Searched refs:TracingSession (Results 1 – 8 of 8) sorted by relevance

/external/perfetto/src/tracing/api_impl/
Dconsumer_api.cc61 class TracingSession : public Consumer { class
63 TracingSession(base::TaskRunner*,
68 ~TracingSession() override;
98 TracingSession(const TracingSession&) = delete;
99 TracingSession& operator=(const TracingSession&) = delete;
120 TracingSession::TracingSession( in TracingSession() function in perfetto::consumer::__anon4d5fe0b30111::TracingSession
140 TracingSession::~TracingSession() { in ~TracingSession()
146 bool TracingSession::Initialize() { in Initialize()
175 void TracingSession::OnConnect() { in OnConnect()
189 void TracingSession::StartTracing() { in StartTracing()
[all …]
/external/perfetto/src/tracing/core/
Dtracing_service_impl.h338 struct TracingSession { struct
346 TracingSession(TracingSessionID, ConsumerEndpointImpl*, const TraceConfig&); argument
486 TracingSession*); argument
493 TracingSession* GetTracingSession(TracingSessionID);
497 TracingSession* GetDetachedSession(uid_t, const std::string& key);
504 TracingSession* tracing_session,
508 void SnapshotStats(TracingSession*, std::vector<TracePacket>*);
509 TraceStats GetTraceStats(TracingSession* tracing_session);
510 void MaybeEmitTraceConfig(TracingSession*, std::vector<TracePacket>*);
511 void MaybeEmitSystemInfo(TracingSession*, std::vector<TracePacket>*);
[all …]
Dtracing_service_impl.cc245 [consumer](const std::pair<const TracingSessionID, TracingSession>& kv) { in DisconnectConsumer()
257 TracingSession* tracing_session; in DetachConsumer()
313 TracingSession* tracing_session = in EnableTracing()
403 &tracing_sessions_.emplace(tsid, TracingSession(tsid, consumer, cfg)) in EnableTracing()
524 tracing_session->state = TracingSession::CONFIGURED; in EnableTracing()
544 TracingSession* tracing_session = in ChangeTraceConfig()
548 if ((tracing_session->state != TracingSession::STARTED) && in ChangeTraceConfig()
549 (tracing_session->state != TracingSession::CONFIGURED)) { in ChangeTraceConfig()
649 if (ds_inst && tracing_session->state == TracingSession::STARTED) in ChangeTraceConfig()
657 TracingSession* tracing_session = GetTracingSession(tsid); in StartTracing()
[all …]
Dtracing_service_impl_unittest.cc116 TracingServiceImpl::TracingSession* GetTracingSession(TracingSessionID tsid) { in GetTracingSession()
122 TracingServiceImpl::TracingSession* tracing_session() { in tracing_session()
/external/perfetto/protos/perfetto/trace/
Dtrigger.proto21 // When a TracingSession receives a trigger it records the boot time nanoseconds
Dperfetto_trace.proto3268 // When a TracingSession receives a trigger it records the boot time nanoseconds
3808 // period of time if no trigger is seen the TracingSession will be cleaned
/external/perfetto/protos/perfetto/config/
Dtrace_config.proto238 // period of time if no trigger is seen the TracingSession will be cleaned
Dperfetto_config.proto707 // period of time if no trigger is seen the TracingSession will be cleaned