Searched refs:ProducerID (Results 1 – 11 of 11) sorted by relevance
/external/perfetto/src/tracing/core/ |
D | trace_buffer_unittest.cc | 52 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 …]
|
D | tracing_service_impl.h | 84 ProducerEndpointImpl(ProducerID, 146 ProducerID const id_; 248 void DisconnectProducer(ProducerID); 249 void RegisterDataSource(ProducerID, const DataSourceDescriptor&); 250 void UnregisterDataSource(ProducerID, const std::string& name); 251 void CopyProducerPageIntoLogBuffer(ProducerID, 261 void ApplyChunkPatches(ProducerID, 263 void NotifyFlushDoneForProducer(ProducerID, FlushRequestID); 264 void NotifyDataSourceStarted(ProducerID, const DataSourceInstanceID); 265 void NotifyDataSourceStopped(ProducerID, const DataSourceInstanceID); [all …]
|
D | trace_buffer.h | 159 ProducerID producer_id_trusted; 191 void CopyChunkUntrusted(ProducerID producer_id_trusted, 215 bool TryPatchChunkContents(ProducerID, 301 ProducerID producer_id = 0; 338 Key(ProducerID p, WriterID w, ChunkID c) in Key() 362 ProducerID producer_id; 460 ProducerID producer_id() const { in producer_id() 648 std::map<std::pair<ProducerID, WriterID>, ChunkID> last_chunk_id_written_;
|
D | tracing_service_impl.cc | 161 static int32_t EncodeCommitDataRequest(ProducerID producer_id, in EncodeCommitDataRequest() 356 const ProducerID id = GetNextProducerID(); in ConnectProducer() 418 void TracingServiceImpl::DisconnectProducer(ProducerID id) { in DisconnectProducer() 442 ProducerID id) const { in GetProducer() 1153 ProducerID producer_id = kv.first; in StartTracing() 1238 const ProducerID producer_id = data_source_inst.first; in DisableTracing() 1275 ProducerID producer_id, in NotifyDataSourceStarted() 1341 ProducerID producer_id, in NotifyDataSourceStopped() 1379 ProducerID producer_id, in ActivateTriggers() 1602 std::map<ProducerID, std::vector<DataSourceInstanceID>> flush_map; in Flush() [all …]
|
D | tracing_service_impl_unittest.cc | 123 ProducerID* last_producer_id() { return &svc->last_producer_id_; } in last_producer_id() 125 uid_t GetProducerUid(ProducerID producer_id) { in GetProducerUid() 143 const std::set<BufferID>& GetAllowedTargetBuffers(ProducerID producer_id) { in GetAllowedTargetBuffers() 147 const std::map<WriterID, BufferID>& GetWriters(ProducerID producer_id) { in GetWriters() 152 ProducerID producer_id) { in TakeShmemArbiterForProducer() 171 void WaitForTraceWritersChanged(ProducerID producer_id) { in WaitForTraceWritersChanged() 1585 for (ProducerID i = 1; i <= 4; i++) in TEST_F() 2525 ProducerID producer1_id = *last_producer_id(); in TEST_F() 2529 ProducerID producer2_id = *last_producer_id(); in TEST_F() 2605 ProducerID producer_id = *last_producer_id(); in TEST_F() [all …]
|
D | trace_buffer.cc | 108 void TraceBuffer::CopyChunkUntrusted(ProducerID producer_id_trusted, in CopyChunkUntrusted() 412 bool TraceBuffer::TryPatchChunkContents(ProducerID producer_id, in TryPatchChunkContents() 599 const ProducerID trusted_producer_id = read_iter_.producer_id(); in ReadNextTracePacket()
|
/external/perfetto/include/perfetto/ext/tracing/core/ |
D | basic_types.h | 36 using ProducerID = uint16_t; variable 49 static constexpr ProducerID kMaxProducerID = static_cast<ProducerID>(-1);
|
/external/perfetto/src/tracing/test/ |
D | fake_packet.h | 54 FakeChunk(TraceBuffer* t, ProducerID p, WriterID w, ChunkID c); 82 ProducerID producer_id;
|
D | tracing_integration_test.cc | 185 void WaitForTraceWritersChanged(ProducerID producer_id) { in WaitForTraceWritersChanged() 203 const std::map<WriterID, BufferID>& GetWriters(ProducerID producer_id) { in GetWriters() 209 ProducerID* last_producer_id() { in last_producer_id()
|
D | fake_packet.cc | 106 FakeChunk::FakeChunk(TraceBuffer* t, ProducerID p, WriterID w, ChunkID c) in FakeChunk()
|
/external/perfetto/docs/design-docs/ |
D | life-of-a-tracing-session.md | 53 `{ProducerID (unspoofable), WriterID, ChunkID}` is still present in the
|