Home
last modified time | relevance | path

Searched refs:TraceBuffer (Results 1 – 18 of 18) sorted by relevance

/external/perfetto/src/tracing/core/
Dtrace_buffer.cc62 constexpr size_t TraceBuffer::ChunkRecord::kMaxSize;
63 constexpr size_t TraceBuffer::InlineChunkHeaderSize = sizeof(ChunkRecord);
66 std::unique_ptr<TraceBuffer> TraceBuffer::Create(size_t size_in_bytes) { in Create()
67 std::unique_ptr<TraceBuffer> trace_buffer(new TraceBuffer()); in Create()
73 TraceBuffer::TraceBuffer() { in TraceBuffer() function in perfetto::TraceBuffer
80 TraceBuffer::~TraceBuffer() = default;
82 bool TraceBuffer::Initialize(size_t size) { in Initialize()
104 void TraceBuffer::CopyChunkUntrusted(ProducerID producer_id_trusted, in CopyChunkUntrusted()
202 size_t TraceBuffer::DeleteNextChunksFor(size_t bytes_to_clear) { in DeleteNextChunksFor()
262 void TraceBuffer::AddPaddingRecord(size_t size) { in AddPaddingRecord()
[all …]
Dtrace_buffer.h127 class TraceBuffer {
156 static std::unique_ptr<TraceBuffer> Create(size_t size_in_bytes);
158 ~TraceBuffer();
404 TraceBuffer();
405 TraceBuffer(const TraceBuffer&) = delete;
406 TraceBuffer& operator=(const TraceBuffer&) = delete;
Dservice_impl.h49 class TraceBuffer; variable
284 TraceBuffer* GetBufferByID(BufferID);
302 std::map<BufferID, std::unique_ptr<TraceBuffer>> buffers_;
Dtrace_buffer_unittest.cc42 using SequenceIterator = TraceBuffer::SequenceIterator;
43 using ChunkMetaKey = TraceBuffer::ChunkMeta::Key;
44 using ChunkRecord = TraceBuffer::ChunkRecord;
58 trace_buffer_ = TraceBuffer::Create(size_); in ResetBuffer()
65 std::vector<TraceBuffer::Patch> patches, in TryPatchChunkContents()
112 TraceBuffer::ChunkMeta::Key key(p, w, 0); in GetReadIterForSequence()
129 TraceBuffer* trace_buffer() { return trace_buffer_.get(); } in trace_buffer()
133 std::unique_ptr<TraceBuffer> trace_buffer_;
Dservice_impl.cc279 buffers_.emplace(global_id, TraceBuffer::Create(buf_size_bytes)); in EnableTracing()
281 std::unique_ptr<TraceBuffer>& trace_buffer = it_and_inserted.first->second; in EnableTracing()
557 TraceBuffer& tbuf = *tbuf_iter->second; in ReadBuffers()
888 TraceBuffer* buf = GetBufferByID(buffer_id); in CopyProducerPageIntoLogBuffer()
914 TraceBuffer* buf = in ApplyChunkPatches()
927 std::array<TraceBuffer::Patch, 1024> patches; // Uninitialized. in ApplyChunkPatches()
972 TraceBuffer* ServiceImpl::GetBufferByID(BufferID buffer_id) { in GetBufferByID()
1083 TraceBuffer* buf = GetBufferByID(buf_id); in MaybeSnapshotStats()
1089 const TraceBuffer::Stats& buf_stats = buf->stats(); in MaybeSnapshotStats()
/external/v8/include/libplatform/
Dv8-tracing.h146 class V8_PLATFORM_EXPORT TraceBuffer {
148 TraceBuffer() {} in TraceBuffer() function
149 virtual ~TraceBuffer() {} in ~TraceBuffer()
157 static TraceBuffer* CreateTraceBufferRingBuffer(size_t max_chunks,
162 TraceBuffer(const TraceBuffer&) = delete;
163 void operator=(const TraceBuffer&) = delete;
231 void Initialize(TraceBuffer* trace_buffer);
255 std::unique_ptr<TraceBuffer> trace_buffer_;
/external/libchrome/base/trace_event/
Dtrace_buffer.h58 class BASE_EXPORT TraceBuffer {
60 virtual ~TraceBuffer() {} in ~TraceBuffer()
80 static TraceBuffer* CreateTraceBufferRingBuffer(size_t max_chunks);
81 static TraceBuffer* CreateTraceBufferVectorOfSize(size_t max_chunks);
Dtrace_buffer.cc20 class TraceBufferRingBuffer : public TraceBuffer {
154 class TraceBufferVector : public TraceBuffer {
336 TraceBuffer* TraceBuffer::CreateTraceBufferRingBuffer(size_t max_chunks) { in CreateTraceBufferRingBuffer()
340 TraceBuffer* TraceBuffer::CreateTraceBufferVectorOfSize(size_t max_chunks) { in CreateTraceBufferVectorOfSize()
Dtrace_log.h35 class TraceBuffer; variable
387 TraceBuffer* trace_buffer() const { return logged_events_.get(); }
388 TraceBuffer* CreateTraceBuffer();
411 std::unique_ptr<TraceBuffer> logged_events,
447 std::unique_ptr<TraceBuffer> logged_events_;
Dtrace_log.cc914 std::unique_ptr<TraceBuffer> logged_events, in ConvertTraceEventsToTraceFormat()
941 std::unique_ptr<TraceBuffer> previous_logged_events; in FinishFlush()
1651 TraceBuffer* TraceLog::CreateTraceBuffer() { in CreateTraceBuffer()
1655 return TraceBuffer::CreateTraceBufferRingBuffer( in CreateTraceBuffer()
1659 return TraceBuffer::CreateTraceBufferRingBuffer( in CreateTraceBuffer()
1663 return TraceBuffer::CreateTraceBufferVectorOfSize( in CreateTraceBuffer()
1666 return TraceBuffer::CreateTraceBufferVectorOfSize( in CreateTraceBuffer()
Dtrace_event_unittest.cc2543 TraceBuffer::CreateTraceBufferVectorOfSize(100)); in TEST_F()
2587 TraceBuffer* buffer = TraceLog::GetInstance()->trace_buffer(); in TEST_F()
2647 TraceBuffer* buffer = TraceLog::GetInstance()->trace_buffer(); in TEST_F()
2676 TraceBuffer* buffer = TraceLog::GetInstance()->trace_buffer(); in TEST_F()
2704 TraceBuffer* buffer = TraceLog::GetInstance()->trace_buffer(); in TEST_F()
/external/perfetto/src/tracing/test/
Dfake_packet.h31 class TraceBuffer; variable
54 FakeChunk(TraceBuffer* t, ProducerID p, WriterID w, ChunkID c);
76 TraceBuffer* trace_buffer_;
Dfake_packet.cc106 FakeChunk::FakeChunk(TraceBuffer* t, ProducerID p, WriterID w, ChunkID c) in FakeChunk()
149 return data.size() + TraceBuffer::InlineChunkHeaderSize; in CopyIntoTraceBuffer()
/external/v8/src/libplatform/tracing/
Dtrace-buffer.cc102 TraceBuffer* TraceBuffer::CreateTraceBufferRingBuffer( in CreateTraceBufferRingBuffer()
Dtrace-buffer.h18 class TraceBufferRingBuffer : public TraceBuffer {
Dtracing-controller.cc45 void TracingController::Initialize(TraceBuffer* trace_buffer) { in Initialize()
/external/perfetto/protos/perfetto/trace/
Dtrace_stats.proto24 // From TraceBuffer::Stats.
61 // Stats for the TraceBuffer(s) of the current trace session.
/external/v8/src/
Dd8.cc2907 platform::tracing::TraceBuffer* trace_buffer = in Main()
2908 platform::tracing::TraceBuffer::CreateTraceBufferRingBuffer( in Main()
2909 platform::tracing::TraceBuffer::kRingBufferChunks, in Main()