Home
last modified time | relevance | path

Searched refs:trace_writer_ (Results 1 – 8 of 8) sorted by relevance

/external/perfetto/test/
Dfake_producer.cc91 if (trace_writer_) { in StartDataSource()
98 trace_writer_ = endpoint_->CreateTraceWriter( in StartDataSource()
111 trace_writer_.reset(); in StopDataSource()
122 PERFETTO_CHECK(!trace_writer_); in ProduceStartupEventBatch()
123 trace_writer_ = in ProduceStartupEventBatch()
160 if (trace_writer_) in Flush()
161 trace_writer_->Flush(); in Flush()
182 PERFETTO_CHECK(trace_writer_); in EmitEventBatchOnTaskRunner()
200 auto handle = trace_writer_->NewTracePacket(); in EmitEventBatchOnTaskRunner()
219 trace_writer_->Flush(messages_to_emit > 0 ? [] {} : callback); in EmitEventBatchOnTaskRunner()
Dfake_producer.h103 std::unique_ptr<TraceWriter> trace_writer_; variable
/external/perfetto/src/profiling/memory/
Dbookkeeping_dump.h46 : trace_writer_(trace_writer), in DumpState()
71 last_written_ = trace_writer_->written(); in MakeTracePacket()
75 current_trace_packet_ = trace_writer_->NewTracePacket(); in MakeTracePacket()
92 return trace_writer_->written() - last_written_; in currently_written()
101 TraceWriter* trace_writer_; variable
/external/perfetto/src/tracing/core/
Dmetatrace_writer.cc47 trace_writer_ = std::move(trace_writer); in Enable()
66 trace_writer_.reset(); in Disable()
78 auto packet = trace_writer_->NewTracePacket(); in WriteAllAvailableEvents()
106 trace_writer_->Flush(std::move(callback)); in WriteAllAndFlushTraceWriter()
Dmetatrace_writer.h64 std::unique_ptr<TraceWriter> trace_writer_; variable
/external/perfetto/src/traced/probes/metatrace/
Dmetatrace_data_source.cc42 trace_writer_(std::move(writer)) {} in MetatraceDataSource()
50 metatrace_writer_->Enable(task_runner_, std::move(trace_writer_), in Start()
Dmetatrace_data_source.h49 std::unique_ptr<TraceWriter> trace_writer_; variable
/external/perfetto/tools/trace_to_text/
Dtrace_to_systrace.cc121 trace_writer_(trace_writer) {} in QueryWriter()
134 trace_writer_->Write(str.data(), str.size()); in RunQuery()
149 trace_writer_->Write(str.data(), str.size()); in RunQuery()
160 TraceWriter* trace_writer_; member in perfetto::trace_to_text::__anon45accca60111::QueryWriter