/external/perfetto/src/tracing/core/ |
D | trace_buffer.h | 292 ProducerID producer_id = 0; member 330 : producer_id{p}, writer_id{w}, chunk_id{c} {} in Key() 333 : Key(cr.producer_id, cr.writer_id, cr.chunk_id) {} in Key() 339 return std::tie(producer_id, writer_id, chunk_id) < 340 std::tie(other.producer_id, other.writer_id, other.chunk_id); 344 return std::tie(producer_id, writer_id, chunk_id) == 345 std::tie(other.producer_id, other.writer_id, other.chunk_id); 353 ProducerID producer_id; member 451 ProducerID producer_id() const { in producer_id() function 453 return cur->first.producer_id; in producer_id()
|
D | tracing_service_impl.cc | 201 if (it->second.producer_id == id) in DisconnectProducer() 483 if (GetProducer(it->second.producer_id)->name_ == in EnableTracing() 608 ProducerEndpointImpl* producer = GetProducer(it->second.producer_id); in ChangeTraceConfig() 625 if (instance_it->first == it->second.producer_id && in ChangeTraceConfig() 726 ProducerID producer_id = kv.first; in StartTracing() local 728 ProducerEndpointImpl* producer = GetProducer(producer_id); in StartTracing() 802 const ProducerID producer_id = data_source_inst.first; in DisableTracing() local 805 ProducerEndpointImpl* producer = GetProducer(producer_id); in DisableTracing() 846 ProducerID producer_id, in NotifyDataSourceStarted() argument 852 tracing_session.GetDataSourceInstance(producer_id, instance_id); in NotifyDataSourceStarted() [all …]
|
D | trace_buffer.cc | 142 record.producer_id = producer_id_trusted; in CopyChunkUntrusted() 366 key.producer_id, key.writer_id, key.chunk_id, in DeleteNextChunksFor() 406 bool TraceBuffer::TryPatchChunkContents(ProducerID producer_id, in TryPatchChunkContents() argument 412 ChunkMeta::Key key(producer_id, writer_id, chunk_id); in TryPatchChunkContents() 437 producer_id, writer_id, chunk_id, chunk_end - chunk_begin, in TryPatchChunkContents() 493 std::tie(prev_it->first.producer_id, prev_it->first.writer_id) < in GetReadIterForSequence() 494 std::tie(seq_begin->first.producer_id, seq_begin->first.writer_id)); in GetReadIterForSequence() 508 auto producer_and_writer_id = std::make_pair(key.producer_id, key.writer_id); in GetReadIterForSequence() 593 const ProducerID trusted_producer_id = read_iter_.producer_id(); in ReadNextTracePacket() 735 PERFETTO_DCHECK(it.producer_id() == read_iter_.producer_id() && in ReadAhead()
|
D | tracing_service_impl_unittest.cc | 112 uid_t GetProducerUid(ProducerID producer_id) { in GetProducerUid() argument 113 return svc->GetProducer(producer_id)->uid_; in GetProducerUid() 130 const std::set<BufferID>& GetAllowedTargetBuffers(ProducerID producer_id) { in GetAllowedTargetBuffers() argument 131 return svc->GetProducer(producer_id)->allowed_target_buffers_; in GetAllowedTargetBuffers() 134 const std::map<WriterID, BufferID>& GetWriters(ProducerID producer_id) { in GetWriters() argument 135 return svc->GetProducer(producer_id)->writers_; in GetWriters() 139 ProducerID producer_id) { in TakeShmemArbiterForProducer() argument 140 return std::move(svc->GetProducer(producer_id)->inproc_shmem_arbiter_); in TakeShmemArbiterForProducer() 158 void WaitForTraceWritersChanged(ProducerID producer_id) { in WaitForTraceWritersChanged() argument 160 auto checkpoint_name = "writers_changed_" + std::to_string(producer_id) + in WaitForTraceWritersChanged() [all …]
|
D | tracing_service_impl.h | 291 ProducerID producer_id; member 361 PacketSequenceID GetPacketSequenceID(ProducerID producer_id, in GetPacketSequenceID() 363 auto key = std::make_pair(producer_id, writer_id); in GetPacketSequenceID() 379 ProducerID producer_id, in GetDataSourceInstance() 382 if (inst_kv.first != producer_id || in GetDataSourceInstance()
|
D | trace_buffer_unittest.cc | 113 actual_seq << "{" << it.producer_id() << "," << it.writer_id() << "," in IteratorSeqEq()
|
/external/perfetto/src/tracing/test/ |
D | tracing_integration_test.cc | 185 void WaitForTraceWritersChanged(ProducerID producer_id) { in WaitForTraceWritersChanged() argument 187 auto checkpoint_name = "writers_changed_" + std::to_string(producer_id) + in WaitForTraceWritersChanged() 190 auto writers = GetWriters(producer_id); in WaitForTraceWritersChanged() 192 task = [&task, writers, writers_changed, producer_id, this]() { in WaitForTraceWritersChanged() 193 if (writers != GetWriters(producer_id)) { in WaitForTraceWritersChanged() 203 const std::map<WriterID, BufferID>& GetWriters(ProducerID producer_id) { in GetWriters() argument 205 ->GetProducer(producer_id) in GetWriters()
|
D | fake_packet.cc | 107 : trace_buffer_{t}, producer_id{p}, writer_id{w}, chunk_id{c} {} in FakeChunk() 156 trace_buffer_->CopyChunkUntrusted(producer_id, uid, writer_id, chunk_id, in CopyIntoTraceBuffer()
|
D | fake_packet.h | 80 ProducerID producer_id; variable
|