/external/perfetto/src/tracing/core/ |
D | trace_buffer.h | 169 WriterID writer_id, 264 WriterID writer_id = 0; member 298 : producer_id{p}, writer_id{w}, chunk_id{c} {} in Key() 301 : Key(cr.producer_id, cr.writer_id, cr.chunk_id) {} in Key() 307 return std::tie(producer_id, writer_id, chunk_id) < 308 std::tie(other.producer_id, other.writer_id, other.chunk_id); 312 return std::tie(producer_id, writer_id, chunk_id) == 313 std::tie(other.producer_id, other.writer_id, other.chunk_id); 320 WriterID writer_id; member 375 WriterID writer_id() const { in writer_id() function [all …]
|
D | trace_buffer.cc | 106 WriterID writer_id, in CopyChunkUntrusted() argument 143 record.writer_id = writer_id; in CopyChunkUntrusted() 196 last_chunk_id_[std::make_pair(producer_id_trusted, writer_id)] = chunk_id; in CopyChunkUntrusted() 244 key.producer_id, key.writer_id, key.chunk_id, in DeleteNextChunksFor() 273 WriterID writer_id, in TryPatchChunkContents() argument 278 ChunkMeta::Key key(producer_id, writer_id, chunk_id); in TryPatchChunkContents() 303 producer_id, writer_id, chunk_id, chunk_end - chunk_begin, in TryPatchChunkContents() 359 std::tie(prev_it->first.producer_id, prev_it->first.writer_id) < in GetReadIterForSequence() 360 std::tie(seq_begin->first.producer_id, seq_begin->first.writer_id)); in GetReadIterForSequence() 374 auto producer_and_writer_id = std::make_pair(key.producer_id, key.writer_id); in GetReadIterForSequence() [all …]
|
D | shared_memory_arbiter_impl_unittest.cc | 136 WriterID writer_id = writer->writer_id(); in TEST_P() local 137 ASSERT_TRUE(writers.emplace(writer_id, std::move(writer)).second); in TEST_P() 142 ASSERT_EQ(arbiter_->CreateTraceWriter(0)->writer_id(), 0); in TEST_P()
|
D | shared_memory_abi_unittest.cc | 95 uint16_t writer_id = last_writer_id; in TEST_P() local 97 header.writer_id.store(writer_id); in TEST_P() 126 ASSERT_EQ(writer_id, chunk.header()->writer_id.load()); in TEST_P()
|
D | commit_data_request.cc | 143 static_assert(sizeof(writer_id_) == sizeof(proto.writer_id()), in FromProto() 145 writer_id_ = static_cast<decltype(writer_id_)>(proto.writer_id()); in FromProto() 172 static_assert(sizeof(writer_id_) == sizeof(proto->writer_id()), in ToProto() 174 proto->set_writer_id(static_cast<decltype(proto->writer_id())>(writer_id_)); in ToProto()
|
D | shared_memory_abi.cc | 115 static_assert(sizeof(ChunkHeader::writer_id) == sizeof(WriterID), in Initialize() 121 chunk_header.writer_id.store(static_cast<uint16_t>(-1)); in Initialize() 122 PERFETTO_CHECK(kMaxWriterID <= chunk_header.writer_id.load()); in Initialize() 183 new_header->writer_id.store(header->writer_id, in TryAcquireChunk()
|
D | shared_memory_arbiter_impl.cc | 141 const WriterID writer_id = chunk.writer_id(); in ReturnCompletedChunk() local 174 last_chunk_req->set_writer_id(writer_id); in ReturnCompletedChunk()
|
D | service_impl.cc | 880 WriterID writer_id, in CopyProducerPageIntoLogBuffer() argument 902 buf->CopyChunkUntrusted(producer_id_trusted, producer_uid_trusted, writer_id, in CopyProducerPageIntoLogBuffer() 913 const WriterID writer_id = static_cast<WriterID>(chunk.writer_id()); in ApplyChunkPatches() local 918 if (!writer_id || writer_id > kMaxWriterID || !buf) { in ApplyChunkPatches() 922 producer_id_trusted, chunk.target_buffer(), chunk_id, writer_id); in ApplyChunkPatches() 948 buf->TryPatchChunkContents(producer_id_trusted, writer_id, chunk_id, in ApplyChunkPatches() 1270 WriterID writer_id = chunk_header.writer_id.load(std::memory_order_relaxed); in CommitData() local 1277 id_, uid_, writer_id, chunk_id, buffer_id, num_fragments, chunk_flags, in CommitData()
|
D | trace_writer_impl.cc | 182 header.writer_id.store(id_, std::memory_order_relaxed); in GetNewBuffer() 198 WriterID TraceWriterImpl::writer_id() const { in writer_id() function in perfetto::TraceWriterImpl
|
D | null_trace_writer_unittest.cc | 32 EXPECT_EQ(writer.writer_id(), 0); in TEST()
|
D | null_trace_writer.h | 38 WriterID writer_id() const override;
|
D | null_trace_writer.cc | 52 WriterID NullTraceWriter::writer_id() const { in writer_id() function in perfetto::NullTraceWriter
|
D | trace_writer_for_testing.h | 42 WriterID writer_id() const override;
|
D | trace_writer_impl.h | 42 WriterID writer_id() const override;
|
D | trace_writer_for_testing.cc | 66 WriterID TraceWriterForTesting::writer_id() const { in writer_id() function in perfetto::TraceWriterForTesting
|
D | trace_buffer_unittest.cc | 102 actual_seq << "{" << it.producer_id() << "," << it.writer_id() << "," in IteratorSeqEq()
|
/external/perfetto/include/perfetto/tracing/core/ |
D | shared_memory_abi.h | 324 std::atomic<uint16_t> writer_id; member 364 uint16_t writer_id() { in writer_id() function 365 return header()->writer_id.load(std::memory_order_relaxed); in writer_id()
|
D | trace_writer.h | 78 virtual WriterID writer_id() const = 0;
|
D | commit_data_request.h | 133 uint32_t writer_id() const { return writer_id_; } in writer_id() function
|
/external/perfetto/src/tracing/test/ |
D | fake_packet.cc | 107 : trace_buffer_{t}, producer_id{p}, writer_id{w}, chunk_id{c} {} in FakeChunk() 146 trace_buffer_->CopyChunkUntrusted(producer_id, uid, writer_id, chunk_id, in CopyIntoTraceBuffer()
|
D | fake_packet.h | 78 WriterID writer_id; variable
|
/external/perfetto/protos/perfetto/common/ |
D | commit_data_request.proto | 61 optional uint32 writer_id = 2; field
|