/external/perfetto/src/tracing/core/ |
D | trace_buffer_unittest.cc | 53 FakeChunk CreateChunk(ProducerID p, WriterID w, ChunkID c) { in CreateChunk() 65 WriterID w, in TryPatchChunkContents() 94 std::initializer_list<std::tuple<ProducerID, WriterID, ChunkID>> chunks) { in AppendChunks() argument 105 WriterID w, 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 | trace_buffer.h | 160 WriterID writer_id; 192 WriterID writer_id, 207 WriterID, 296 WriterID writer_id = 0; 329 Key(ProducerID p, WriterID w, ChunkID c) in Key() 354 WriterID writer_id; 456 WriterID writer_id() const { in writer_id() 639 std::map<std::pair<ProducerID, WriterID>, ChunkID> last_chunk_id_written_;
|
D | shared_memory_arbiter_impl.h | 90 void SendPatches(WriterID writer_id, 124 WriterID writer_id, 129 void ReleaseWriterID(WriterID); 140 IdAllocator<WriterID> active_writer_ids_;
|
D | trace_writer_impl.h | 36 TraceWriterImpl(SharedMemoryArbiterImpl*, WriterID, BufferID); 42 WriterID writer_id() const override; 62 const WriterID id_;
|
D | shared_memory_arbiter_impl.cc | 155 const WriterID writer_id = chunk.writer_id(); in ReturnCompletedChunk() 160 void SharedMemoryArbiterImpl::SendPatches(WriterID writer_id, in SendPatches() 168 WriterID writer_id, in UpdateCommitDataRequest() 299 WriterID id; in CreateTraceWriter() 384 void SharedMemoryArbiterImpl::ReleaseWriterID(WriterID id) { in ReleaseWriterID()
|
D | tracing_service_impl.h | 112 base::Optional<BufferID> buffer_id_for_writer(WriterID writer_id) const { in buffer_id_for_writer() 151 std::map<WriterID, BufferID> writers_; 227 WriterID, 362 WriterID writer_id) { in GetPacketSequenceID() 442 std::map<std::pair<ProducerID, WriterID>, PacketSequenceID>
|
D | startup_trace_writer.cc | 36 WriterID writer_id, in NewChunk() 245 WriterID StartupTraceWriter::writer_id() const { in writer_id() 301 WriterID writer_id, in CommitLocalBufferChunks()
|
D | shared_memory_arbiter_impl_unittest.cc | 142 std::map<WriterID, std::unique_ptr<TraceWriter>> writers; in TEST_P() 156 WriterID writer_id = writer->writer_id(); in TEST_P()
|
D | trace_writer_impl.cc | 42 WriterID id, in TraceWriterImpl() 219 WriterID TraceWriterImpl::writer_id() const { in writer_id()
|
D | null_trace_writer.cc | 52 WriterID NullTraceWriter::writer_id() const { in writer_id()
|
D | null_trace_writer.h | 38 WriterID writer_id() const override;
|
D | trace_writer_for_testing.h | 45 WriterID writer_id() const override;
|
D | trace_writer_for_testing.cc | 97 WriterID TraceWriterForTesting::writer_id() const { in writer_id()
|
D | trace_buffer.cc | 108 WriterID writer_id, in CopyChunkUntrusted() 407 WriterID writer_id, in TryPatchChunkContents() 594 const WriterID writer_id = read_iter_.writer_id(); in ReadNextTracePacket()
|
D | tracing_service_impl.cc | 1251 WriterID writer_id = chunk.writer_id(); in ScrapeSharedMemoryBuffers() 1872 WriterID writer_id, in CopyProducerPageIntoLogBuffer() 1938 const WriterID writer_id = static_cast<WriterID>(chunk.writer_id()); in ApplyChunkPatches() 2535 PERFETTO_DCHECK(!buffer_id_for_writer(static_cast<WriterID>(writer_id))); in RegisterTraceWriter() 2536 writers_[static_cast<WriterID>(writer_id)] = in RegisterTraceWriter() 2543 PERFETTO_DCHECK(buffer_id_for_writer(static_cast<WriterID>(writer_id))); in UnregisterTraceWriter() 2544 writers_.erase(static_cast<WriterID>(writer_id)); in UnregisterTraceWriter() 2578 WriterID writer_id = chunk_header.writer_id.load(std::memory_order_relaxed); in CommitData()
|
D | shared_memory_abi.cc | 126 static_assert(sizeof(ChunkHeader::writer_id) == sizeof(WriterID), in Initialize()
|
/external/perfetto/include/perfetto/tracing/core/ |
D | basic_types.h | 42 using WriterID = uint16_t; variable 53 static constexpr WriterID kMaxWriterID = static_cast<WriterID>((1 << 10) - 1);
|
D | startup_trace_writer.h | 85 WriterID writer_id() const override; 134 ChunkID CommitLocalBufferChunks(SharedMemoryArbiterImpl*, WriterID, BufferID);
|
D | trace_writer.h | 78 virtual WriterID writer_id() const = 0;
|
/external/perfetto/src/tracing/test/ |
D | fake_packet.h | 54 FakeChunk(TraceBuffer* t, ProducerID p, WriterID w, ChunkID c); 81 WriterID writer_id;
|
D | fake_packet.cc | 106 FakeChunk::FakeChunk(TraceBuffer* t, ProducerID p, WriterID w, ChunkID c) in FakeChunk()
|
D | tracing_integration_test.cc | 203 const std::map<WriterID, BufferID>& GetWriters(ProducerID producer_id) { in GetWriters()
|
/external/perfetto/protos/perfetto/common/ |
D | commit_data_request.proto | 60 // {WriterID, ChunkID} uniquely identify a chunk for the current producer.
|
/external/perfetto/docs/ |
D | life-of-a-tracing-session.md | 53 `{ProducerID (unspoofable), WriterID, ChunkID}` is still present in the
|
D | architecture.md | 109 - Is part of a reliable and ordered sequence, identified by the `WriterID`:
|