Searched refs:trace_writer_ (Results 1 – 8 of 8) sorted by relevance
91 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()
103 std::unique_ptr<TraceWriter> trace_writer_; variable
46 : 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
47 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()
64 std::unique_ptr<TraceWriter> trace_writer_; variable
42 trace_writer_(std::move(writer)) {} in MetatraceDataSource()50 metatrace_writer_->Enable(task_runner_, std::move(trace_writer_), in Start()
49 std::unique_ptr<TraceWriter> trace_writer_; variable
121 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