Home
last modified time | relevance | path

Searched refs:trace_writer (Results 1 – 14 of 14) sorted by relevance

/external/perfetto/src/tracing/core/
Dstartup_trace_writer_registry.cc63 std::unique_ptr<StartupTraceWriter> trace_writer) { in ReturnUnboundTraceWriter() argument
66 PERFETTO_DCHECK(!trace_writer->write_in_progress_); in ReturnUnboundTraceWriter()
67 PERFETTO_DCHECK(unbound_writers_.count(trace_writer.get())); in ReturnUnboundTraceWriter()
68 unbound_writers_.erase(trace_writer.get()); in ReturnUnboundTraceWriter()
69 unbound_owned_writers_.push_back(std::move(trace_writer)); in ReturnUnboundTraceWriter()
128 StartupTraceWriter* trace_writer) { in OnStartupTraceWriterDestroyed() argument
130 if (unbound_writers_.erase(trace_writer) > 0) in OnStartupTraceWriterDestroyed()
Dstartup_trace_writer.cc134 std::unique_ptr<TraceWriter> trace_writer) in StartupTraceWriter() argument
135 : was_bound_(true), trace_writer_(std::move(trace_writer)) {} in StartupTraceWriter()
149 auto trace_writer = arbiter->CreateTraceWriter(target_buffer); in BindToArbiter() local
167 trace_writer_ = std::move(trace_writer); in BindToArbiter()
/external/perfetto/test/
Dend_to_end_shared_memory_fuzzer.cc84 auto trace_writer = endpoint_->CreateTraceWriter( in StartDataSource() local
87 auto packet = trace_writer->NewTracePacket(); in StartDataSource()
90 trace_writer->Flush(); in StartDataSource()
93 auto end_packet = trace_writer->NewTracePacket(); in StartDataSource()
96 trace_writer->Flush(on_produced_and_committed_); in StartDataSource()
/external/perfetto/src/profiling/memory/
Dbookkeeping.h206 DumpState(TraceWriter* tw, uint64_t* ni) : trace_writer(tw), next_index(ni) { in DumpState()
207 last_written = trace_writer->written(); in DumpState()
209 current_trace_packet = trace_writer->NewTracePacket(); in DumpState()
233 TraceWriter* trace_writer; member
242 trace_writer->written() - last_written, in NewProfilePacket()
243 trace_writer->written(), last_written); in NewProfilePacket()
245 last_written = trace_writer->written(); in NewProfilePacket()
248 current_trace_packet = trace_writer->NewTracePacket(); in NewProfilePacket()
256 return trace_writer->written() - last_written; in currently_written()
Dheapprofd_producer.cc363 auto trace_writer = endpoint_->CreateTraceWriter(buffer_id); in SetupDataSource() local
364 auto trace_packet = trace_writer->NewTracePacket(); in SetupDataSource()
372 trace_writer->Flush(); in SetupDataSource()
382 data_source.trace_writer = endpoint_->CreateTraceWriter(buffer_id); in SetupDataSource()
520 DumpState dump_state(data_source.trace_writer.get(), in Dump()
585 data_source.trace_writer->Flush(std::move(callback)); in Dump()
Dheapprofd_producer.h178 std::unique_ptr<TraceWriter> trace_writer; member
/external/v8/src/libplatform/tracing/
Dtrace-buffer.cc12 TraceWriter* trace_writer) in TraceBufferRingBuffer() argument
14 trace_writer_.reset(trace_writer); in TraceBufferRingBuffer()
103 size_t max_chunks, TraceWriter* trace_writer) { in CreateTraceBufferRingBuffer() argument
104 return new TraceBufferRingBuffer(max_chunks, trace_writer); in CreateTraceBufferRingBuffer()
Dtrace-buffer.h20 TraceBufferRingBuffer(size_t max_chunks, TraceWriter* trace_writer);
/external/perfetto/src/traced/probes/ftrace/
Dftrace_data_source.h80 TraceWriter* trace_writer() { return writer_.get(); } in trace_writer() function
Dcpu_reader.cc411 auto packet = data_source->trace_writer()->NewTracePacket(); in Drain()
/external/perfetto/include/perfetto/tracing/core/
Dstartup_trace_writer.h74 explicit StartupTraceWriter(std::unique_ptr<TraceWriter> trace_writer);
DBUILD.gn36 "trace_writer.h",
/external/v8/include/libplatform/
Dv8-tracing.h160 TraceWriter* trace_writer);
/external/perfetto/docs/
Dlife-of-a-tracing-session.md32 [`TraceWriter`](/include/perfetto/tracing/core/trace_writer.h) (typically