/external/perfetto/src/tracing/core/ |
D | trace_buffer.cc | 61 constexpr size_t TraceBuffer::ChunkRecord::kMaxSize; 62 constexpr size_t TraceBuffer::InlineChunkHeaderSize = sizeof(ChunkRecord); 65 std::unique_ptr<TraceBuffer> TraceBuffer::Create(size_t size_in_bytes, in Create() 67 std::unique_ptr<TraceBuffer> trace_buffer(new TraceBuffer(pol)); in Create() 73 TraceBuffer::TraceBuffer(OverwritePolicy pol) : overwrite_policy_(pol) { in TraceBuffer() function in perfetto::TraceBuffer 80 TraceBuffer::~TraceBuffer() = default; 82 bool TraceBuffer::Initialize(size_t size) { in Initialize() 106 void TraceBuffer::CopyChunkUntrusted(ProducerID producer_id_trusted, in CopyChunkUntrusted() 314 ssize_t TraceBuffer::DeleteNextChunksFor(size_t bytes_to_clear) { in DeleteNextChunksFor() 395 void TraceBuffer::AddPaddingRecord(size_t size) { in AddPaddingRecord() [all …]
|
D | trace_buffer.h | 140 class TraceBuffer { 164 static std::unique_ptr<TraceBuffer> Create(size_t size_in_bytes, 167 ~TraceBuffer(); 491 explicit TraceBuffer(OverwritePolicy); 492 TraceBuffer(const TraceBuffer&) = delete; 493 TraceBuffer& operator=(const TraceBuffer&) = delete;
|
D | trace_buffer_unittest.cc | 42 using SequenceIterator = TraceBuffer::SequenceIterator; 43 using ChunkMetaKey = TraceBuffer::ChunkMeta::Key; 44 using ChunkRecord = TraceBuffer::ChunkRecord; 59 TraceBuffer::OverwritePolicy policy = TraceBuffer::kOverwrite) { in ResetBuffer() 60 trace_buffer_ = TraceBuffer::Create(size_, policy); in ResetBuffer() 67 std::vector<TraceBuffer::Patch> patches, in TryPatchChunkContents() 74 TraceBuffer::PacketSequenceProperties* sequence_properties = nullptr, in ReadPacket() 78 TraceBuffer::PacketSequenceProperties ignored_sequence_properties{}; in ReadPacket() 123 TraceBuffer::ChunkMeta::Key key(p, w, 0); in GetReadIterForSequence() 140 TraceBuffer* trace_buffer() { return trace_buffer_.get(); } in trace_buffer() [all …]
|
D | startup_trace_writer_unittest.cc | 74 auto buffer = TraceBuffer::Create(abi->size()); in VerifyPackets() 121 TraceBuffer::PacketSequenceProperties sequence_properties{}; in VerifyPackets()
|
D | tracing_service_impl.h | 53 class TraceBuffer; variable 523 TraceBuffer* GetBufferByID(BufferID); 542 std::map<BufferID, std::unique_ptr<TraceBuffer>> buffers_;
|
D | tracing_service_impl.cc | 444 TraceBuffer::OverwritePolicy policy = in EnableTracing() 446 ? TraceBuffer::kDiscard in EnableTracing() 447 : TraceBuffer::kOverwrite; in EnableTracing() 449 global_id, TraceBuffer::Create(buf_size_bytes, policy)); in EnableTracing() 451 std::unique_ptr<TraceBuffer>& trace_buffer = it_and_inserted.first->second; in EnableTracing() 1480 TraceBuffer& tbuf = *tbuf_iter->second; in ReadBuffers() 1484 TraceBuffer::PacketSequenceProperties sequence_properties{}; in ReadBuffers() 1889 TraceBuffer* buf = GetBufferByID(buffer_id); in CopyProducerPageIntoLogBuffer() 1939 TraceBuffer* buf = in ApplyChunkPatches() 1962 std::array<TraceBuffer::Patch, 1024> patches; // Uninitialized. in ApplyChunkPatches() [all …]
|
/external/v8/include/libplatform/ |
D | v8-tracing.h | 148 class V8_PLATFORM_EXPORT TraceBuffer { 150 TraceBuffer() {} in TraceBuffer() function 151 virtual ~TraceBuffer() {} in ~TraceBuffer() 159 static TraceBuffer* CreateTraceBufferRingBuffer(size_t max_chunks, 164 TraceBuffer(const TraceBuffer&) = delete; 165 void operator=(const TraceBuffer&) = delete; 241 void Initialize(TraceBuffer* trace_buffer); in V8_PLATFORM_NON_EXPORTED_BASE() 280 std::unique_ptr<TraceBuffer> trace_buffer_; in V8_PLATFORM_NON_EXPORTED_BASE()
|
/external/perfetto/src/tracing/test/ |
D | fake_packet.h | 31 class TraceBuffer; variable 54 FakeChunk(TraceBuffer* t, ProducerID p, WriterID w, ChunkID c); 79 TraceBuffer* trace_buffer_;
|
D | fake_packet.cc | 106 FakeChunk::FakeChunk(TraceBuffer* t, ProducerID p, WriterID w, ChunkID c) in FakeChunk() 147 data.size() + TraceBuffer::InlineChunkHeaderSize); in PadTo() 149 chunk_size - (data.size() + TraceBuffer::InlineChunkHeaderSize); in PadTo() 159 return data.size() + TraceBuffer::InlineChunkHeaderSize; in CopyIntoTraceBuffer()
|
/external/perfetto/include/perfetto/public/ |
D | consumer_api.h | 132 struct TraceBuffer { struct 146 TraceBuffer ReadTrace(Handle); argument
|
/external/perfetto/src/tracing/api_impl/ |
D | consumer_api.cc | 284 TraceBuffer ReadTrace(Handle); 366 TraceBuffer TracingController::ReadTrace(Handle handle) { in ReadTrace() 367 TraceBuffer buf{}; in ReadTrace() 419 PERFETTO_EXPORTED_API TraceBuffer ReadTrace(Handle handle) { in ReadTrace()
|
D | consumer_api_test.cc | 50 void DumpTrace(TraceBuffer buf) { in DumpTrace()
|
/external/v8/src/libplatform/tracing/ |
D | trace-buffer.cc | 102 TraceBuffer* TraceBuffer::CreateTraceBufferRingBuffer( in CreateTraceBufferRingBuffer()
|
D | trace-buffer.h | 18 class TraceBufferRingBuffer : public TraceBuffer {
|
D | tracing-controller.cc | 60 void TracingController::Initialize(TraceBuffer* trace_buffer) { in Initialize()
|
/external/perfetto/protos/perfetto/common/ |
D | trace_stats.proto | 26 // From TraceBuffer::Stats. 115 // Stats for the TraceBuffer(s) of the current trace session.
|
/external/v8/src/ |
D | d8.cc | 3332 platform::tracing::TraceBuffer* trace_buffer = in Main() 3333 platform::tracing::TraceBuffer::CreateTraceBufferRingBuffer( in Main() 3334 platform::tracing::TraceBuffer::kRingBufferChunks, in Main()
|
/external/perfetto/protos/perfetto/trace/ |
D | perfetto_trace.proto | 188 // From TraceBuffer::Stats. 277 // Stats for the TraceBuffer(s) of the current trace session.
|