Lines Matching refs:writer_
127 std::unique_ptr<RecordFileWriter> writer_; member in DebugUnwindCommand
201 writer_ = RecordFileWriter::CreateInstance(output_filename_); in UnwindRecordFile()
202 if (!writer_ || !writer_->WriteAttrSection(reader_->AttrSection())) { in UnwindRecordFile()
250 if (!writer_->WriteRecord(UnwindingResultRecord(r.time_data.time, unwinding_result))) { in ProcessRecord()
256 if (!writer_->WriteRecord(r)) { in ProcessRecord()
269 return writer_->WriteRecord(*record); in ProcessRecord()
294 if (!writer_->Close()) { in JoinCallChains()
297 writer_.reset(); in JoinCallChains()
309 writer_ = RecordFileWriter::CreateInstance(output_filename_); in JoinCallChains()
310 if (!writer_ || !writer_->WriteAttrSection(reader->AttrSection())) { in JoinCallChains()
316 return writer_->WriteRecord(*r); in JoinCallChains()
320 return writer_->WriteRecord(sr); in JoinCallChains()
331 if (!writer_->WriteRecord(CallChainRecord(pid, tid, type, sr.Timestamp(), ips, sps))) { in JoinCallChains()
338 return writer_->WriteRecord(sr); in JoinCallChains()
352 if (!writer_->BeginWriteFeatures(new_feature_count)) { in WriteFeatureSections()
360 if (!reader_->ReadFeatureSection(it->first, &data) || !writer_->WriteFeature(it->first, data)) { in WriteFeatureSections()
369 if (!writer_->WriteFileFeatures(thread_tree_.GetAllDsos())) { in WriteFeatureSections()
381 if (!writer_->WriteMetaInfoFeature(info_map)) { in WriteFeatureSections()
385 return writer_->EndWriteFeatures() && writer_->Close(); in WriteFeatureSections()