Home
last modified time | relevance | path

Searched refs:ProducerID (Results 1 – 11 of 11) sorted by relevance

/external/perfetto/src/tracing/core/
Dtrace_buffer_unittest.cc52 FakeChunk CreateChunk(ProducerID p, WriterID w, ChunkID c) { in CreateChunk()
63 bool TryPatchChunkContents(ProducerID p, in TryPatchChunkContents()
93 std::initializer_list<std::tuple<ProducerID, WriterID, ChunkID>> chunks) { in AppendChunks() argument
103 bool IteratorSeqEq(ProducerID p, in IteratorSeqEq()
121 SequenceIterator GetReadIterForSequence(ProducerID p, WriterID w) { in GetReadIterForSequence()
166 CreateChunk(ProducerID(1), WriterID(1), chunk_id) in TEST_F()
187 ASSERT_EQ(32u, CreateChunk(ProducerID(i), WriterID(i), ChunkID(i)) in TEST_F()
206 ASSERT_EQ(512u, CreateChunk(ProducerID(1), WriterID(1), ChunkID(i * 4)) in TEST_F()
209 ASSERT_EQ(512u, CreateChunk(ProducerID(1), WriterID(1), ChunkID(i * 4 + 1)) in TEST_F()
212 ASSERT_EQ(1024u, CreateChunk(ProducerID(1), WriterID(1), ChunkID(i * 4 + 2)) in TEST_F()
[all …]
Dtracing_service_impl.h75 ProducerEndpointImpl(ProducerID,
136 ProducerID const id_;
237 void DisconnectProducer(ProducerID);
238 void RegisterDataSource(ProducerID, const DataSourceDescriptor&);
239 void UnregisterDataSource(ProducerID, const std::string& name);
240 void CopyProducerPageIntoLogBuffer(ProducerID,
250 void ApplyChunkPatches(ProducerID,
252 void NotifyFlushDoneForProducer(ProducerID, FlushRequestID);
253 void NotifyDataSourceStarted(ProducerID, const DataSourceInstanceID);
254 void NotifyDataSourceStopped(ProducerID, const DataSourceInstanceID);
[all …]
Dtrace_buffer.h159 ProducerID producer_id_trusted;
191 void CopyChunkUntrusted(ProducerID producer_id_trusted,
207 bool TryPatchChunkContents(ProducerID,
293 ProducerID producer_id = 0;
330 Key(ProducerID p, WriterID w, ChunkID c) in Key()
354 ProducerID producer_id;
452 ProducerID producer_id() const { in producer_id()
640 std::map<std::pair<ProducerID, WriterID>, ChunkID> last_chunk_id_written_;
Dtracing_service_impl.cc143 static int32_t EncodeCommitDataRequest(ProducerID producer_id, in EncodeCommitDataRequest()
294 const ProducerID id = GetNextProducerID(); in ConnectProducer()
352 void TracingServiceImpl::DisconnectProducer(ProducerID id) { in DisconnectProducer()
376 ProducerID id) const { in GetProducer()
966 ProducerID producer_id = kv.first; in StartTracing()
1046 const ProducerID producer_id = data_source_inst.first; in DisableTracing()
1078 ProducerID producer_id, in NotifyDataSourceStarted()
1139 ProducerID producer_id, in NotifyDataSourceStopped()
1177 ProducerID producer_id, in ActivateTriggers()
1339 std::map<ProducerID, std::vector<DataSourceInstanceID>> flush_map; in Flush()
[all …]
Dtracing_service_impl_unittest.cc122 ProducerID* last_producer_id() { return &svc->last_producer_id_; } in last_producer_id()
124 uid_t GetProducerUid(ProducerID producer_id) { in GetProducerUid()
142 const std::set<BufferID>& GetAllowedTargetBuffers(ProducerID producer_id) { in GetAllowedTargetBuffers()
146 const std::map<WriterID, BufferID>& GetWriters(ProducerID producer_id) { in GetWriters()
151 ProducerID producer_id) { in TakeShmemArbiterForProducer()
170 void WaitForTraceWritersChanged(ProducerID producer_id) { in WaitForTraceWritersChanged()
1347 for (ProducerID i = 1; i <= 4; i++) in TEST_F()
2285 ProducerID producer1_id = *last_producer_id(); in TEST_F()
2289 ProducerID producer2_id = *last_producer_id(); in TEST_F()
2365 ProducerID producer_id = *last_producer_id(); in TEST_F()
[all …]
Dtrace_buffer.cc109 void TraceBuffer::CopyChunkUntrusted(ProducerID producer_id_trusted, in CopyChunkUntrusted()
413 bool TraceBuffer::TryPatchChunkContents(ProducerID producer_id, in TryPatchChunkContents()
600 const ProducerID trusted_producer_id = read_iter_.producer_id(); in ReadNextTracePacket()
/external/perfetto/include/perfetto/ext/tracing/core/
Dbasic_types.h36 using ProducerID = uint16_t; variable
49 static constexpr ProducerID kMaxProducerID = static_cast<ProducerID>(-1);
/external/perfetto/src/tracing/test/
Dfake_packet.h54 FakeChunk(TraceBuffer* t, ProducerID p, WriterID w, ChunkID c);
82 ProducerID producer_id;
Dtracing_integration_test.cc186 void WaitForTraceWritersChanged(ProducerID producer_id) { in WaitForTraceWritersChanged()
204 const std::map<WriterID, BufferID>& GetWriters(ProducerID producer_id) { in GetWriters()
210 ProducerID* last_producer_id() { in last_producer_id()
Dfake_packet.cc106 FakeChunk::FakeChunk(TraceBuffer* t, ProducerID p, WriterID w, ChunkID c) in FakeChunk()
/external/perfetto/docs/design-docs/
Dlife-of-a-tracing-session.md53 `{ProducerID (unspoofable), WriterID, ChunkID}` is still present in the