Searched refs:ProducerID (Results 1 – 11 of 11) sorted by relevance
/external/perfetto/src/tracing/core/ |
D | trace_buffer_unittest.cc | 53 FakeChunk CreateChunk(ProducerID p, WriterID w, ChunkID c) { in CreateChunk() 64 bool TryPatchChunkContents(ProducerID p, in TryPatchChunkContents() 94 std::initializer_list<std::tuple<ProducerID, WriterID, ChunkID>> chunks) { in AppendChunks() argument 104 bool IteratorSeqEq(ProducerID p, in IteratorSeqEq() 122 SequenceIterator GetReadIterForSequence(ProducerID p, WriterID w) { in GetReadIterForSequence() 167 CreateChunk(ProducerID(1), WriterID(1), chunk_id) in TEST_F() 188 ASSERT_EQ(32u, CreateChunk(ProducerID(i), WriterID(i), ChunkID(i)) in TEST_F() 207 ASSERT_EQ(512u, CreateChunk(ProducerID(1), WriterID(1), ChunkID(i * 4)) in TEST_F() 210 ASSERT_EQ(512u, CreateChunk(ProducerID(1), WriterID(1), ChunkID(i * 4 + 1)) in TEST_F() 213 ASSERT_EQ(1024u, CreateChunk(ProducerID(1), WriterID(1), ChunkID(i * 4 + 2)) in TEST_F() [all …]
|
D | tracing_service_impl.h | 73 ProducerEndpointImpl(ProducerID, 126 ProducerID const id_; 222 void DisconnectProducer(ProducerID); 223 void RegisterDataSource(ProducerID, const DataSourceDescriptor&); 224 void UnregisterDataSource(ProducerID, const std::string& name); 225 void CopyProducerPageIntoLogBuffer(ProducerID, 235 void ApplyChunkPatches(ProducerID, 237 void NotifyFlushDoneForProducer(ProducerID, FlushRequestID); 238 void NotifyDataSourceStarted(ProducerID, const DataSourceInstanceID); 239 void NotifyDataSourceStopped(ProducerID, const DataSourceInstanceID); [all …]
|
D | trace_buffer.h | 158 ProducerID producer_id_trusted; 190 void CopyChunkUntrusted(ProducerID producer_id_trusted, 206 bool TryPatchChunkContents(ProducerID, 292 ProducerID producer_id = 0; 329 Key(ProducerID p, WriterID w, ChunkID c) in Key() 353 ProducerID producer_id; 451 ProducerID producer_id() const { in producer_id() 639 std::map<std::pair<ProducerID, WriterID>, ChunkID> last_chunk_id_written_;
|
D | tracing_service_impl.cc | 161 const ProducerID id = GetNextProducerID(); in ConnectProducer() 187 void TracingServiceImpl::DisconnectProducer(ProducerID id) { in DisconnectProducer() 211 ProducerID id) const { in GetProducer() 726 ProducerID producer_id = kv.first; in StartTracing() 802 const ProducerID producer_id = data_source_inst.first; in DisableTracing() 846 ProducerID producer_id, in NotifyDataSourceStarted() 874 ProducerID producer_id, in NotifyDataSourceStopped() 910 ProducerID producer_id, in ActivateTriggers() 1071 std::map<ProducerID, std::vector<DataSourceInstanceID>> flush_map; in Flush() 1073 const ProducerID producer_id = data_source_inst.first; in Flush() [all …]
|
D | tracing_service_impl_unittest.cc | 110 ProducerID* last_producer_id() { return &svc->last_producer_id_; } in last_producer_id() 112 uid_t GetProducerUid(ProducerID producer_id) { in GetProducerUid() 130 const std::set<BufferID>& GetAllowedTargetBuffers(ProducerID producer_id) { in GetAllowedTargetBuffers() 134 const std::map<WriterID, BufferID>& GetWriters(ProducerID producer_id) { in GetWriters() 139 ProducerID producer_id) { in TakeShmemArbiterForProducer() 158 void WaitForTraceWritersChanged(ProducerID producer_id) { in WaitForTraceWritersChanged() 1301 for (ProducerID i = 1; i <= 4; i++) in TEST_F() 2143 ProducerID producer1_id = *last_producer_id(); in TEST_F() 2147 ProducerID producer2_id = *last_producer_id(); in TEST_F() 2223 ProducerID producer_id = *last_producer_id(); in TEST_F() [all …]
|
D | trace_buffer.cc | 106 void TraceBuffer::CopyChunkUntrusted(ProducerID producer_id_trusted, in CopyChunkUntrusted() 406 bool TraceBuffer::TryPatchChunkContents(ProducerID producer_id, in TryPatchChunkContents() 593 const ProducerID trusted_producer_id = read_iter_.producer_id(); in ReadNextTracePacket()
|
/external/perfetto/include/perfetto/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); 80 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/ |
D | life-of-a-tracing-session.md | 53 `{ProducerID (unspoofable), WriterID, ChunkID}` is still present in the
|