Searched refs:cur_packet_ (Results 1 – 11 of 11) sorted by relevance
52 cur_packet_.reset(new protos::pbzero::TracePacket()); in TraceWriterImpl()53 cur_packet_->Finalize(); // To avoid the DCHECK in NewTracePacket(). in TraceWriterImpl()58 cur_packet_->Finalize(); in ~TraceWriterImpl()66 PERFETTO_CHECK(cur_packet_->is_finalized()); in Flush()83 PERFETTO_DCHECK(cur_packet_->is_finalized()); in NewTracePacket()110 cur_packet_->Reset(&protobuf_stream_writer_); in NewTracePacket()113 cur_packet_->set_size_field(header); in NewTracePacket()117 TracePacketHandle handle(cur_packet_.get()); in NewTracePacket()140 cur_packet_->inc_size_already_written(partial_size); in GetNewBuffer()142 WriteRedundantVarInt(partial_size, cur_packet_->size_field()); in GetNewBuffer()[all …]
34 cur_packet_.reset(new protos::pbzero::TracePacket()); in TraceWriterForTesting()35 cur_packet_->Finalize(); // To avoid the DCHECK in NewTracePacket(). in TraceWriterForTesting()42 PERFETTO_CHECK(cur_packet_->is_finalized()); in Flush()49 PERFETTO_CHECK(cur_packet_->is_finalized()); in GetAllTracePackets()64 PERFETTO_CHECK(cur_packet_->is_finalized()); in ParseProto()77 PERFETTO_DCHECK(cur_packet_->is_finalized()); in NewTracePacket()78 cur_packet_->Reset(&stream_); in NewTracePacket()91 auto packet = TraceWriter::TracePacketHandle(cur_packet_.get()); in NewTracePacket()
30 cur_packet_.reset(new protos::pbzero::TracePacket()); in NullTraceWriter()31 cur_packet_->Finalize(); // To avoid the DCHECK in NewTracePacket(). in NullTraceWriter()38 PERFETTO_CHECK(cur_packet_->is_finalized()); in Flush()47 PERFETTO_DCHECK(cur_packet_->is_finalized()); in NewTracePacket()48 cur_packet_->Reset(&stream_); in NewTracePacket()49 return TraceWriter::TracePacketHandle(cur_packet_.get()); in NewTracePacket()
162 if (cur_packet_) { in BindToArbiter()163 PERFETTO_DCHECK(cur_packet_->is_finalized()); in BindToArbiter()164 cur_packet_.reset(); in BindToArbiter()189 PERFETTO_DCHECK(!cur_packet_); in NewTracePacket()198 PERFETTO_DCHECK(!cur_packet_); in NewTracePacket()216 if (cur_packet_) { in NewTracePacket()219 PERFETTO_DCHECK(cur_packet_->is_finalized()); in NewTracePacket()221 cur_packet_.reset(new protos::pbzero::TracePacket()); in NewTracePacket()223 cur_packet_->Reset(memory_stream_writer_.get()); in NewTracePacket()224 TraceWriter::TracePacketHandle handle(cur_packet_.get()); in NewTracePacket()[all …]
50 std::unique_ptr<protos::pbzero::TracePacket> cur_packet_; variable
57 std::unique_ptr<protos::pbzero::TracePacket> cur_packet_; variable
82 std::unique_ptr<protos::pbzero::TracePacket> cur_packet_; variable
286 if (cur_packet_) in StartNewPacketIfNeeded()288 cur_packet_ = writer_->NewTracePacket(); in StartNewPacketIfNeeded()289 cur_packet_->set_timestamp(CacheProcFsScanStartTimestamp()); in StartNewPacketIfNeeded()292 cur_packet_->set_incremental_state_cleared(true); in StartNewPacketIfNeeded()300 cur_ps_tree_ = cur_packet_->set_process_tree(); in GetOrCreatePsTree()309 cur_ps_stats_ = cur_packet_->set_process_stats(); in GetOrCreateStats()325 PERFETTO_DCHECK(!cur_ps_tree_ || cur_packet_); in FinalizeCurPacket()326 PERFETTO_DCHECK(!cur_ps_stats_ || cur_packet_); in FinalizeCurPacket()338 cur_packet_ = TraceWriter::TracePacketHandle{}; in FinalizeCurPacket()
114 TraceWriter::TracePacketHandle cur_packet_; variable
164 std::unique_ptr<protos::pbzero::TracePacket> cur_packet_; variable
89 TraceWriter::TracePacketHandle cur_packet_; variable