Lines Matching refs:reader_

134     reader_ = RecordFileReader::CreateInstance(record_filename_);  in ProcessFile()
135 if (!reader_) { in ProcessFile()
138 std::string record_cmd = android::base::Join(reader_->ReadCmdlineFeature(), " "); in ProcessFile()
149 reader_->LoadBuildIdAndFileFeatures(thread_tree_); in ProcessFile()
151 GetArchType(reader_->ReadFeatureString(PerfFileFormat::FEAT_ARCH))); in ProcessFile()
152 unwinder_->LoadMetaInfo(reader_->GetMetaInfoFeature()); in ProcessFile()
153 if (reader_->HasFeature(PerfFileFormat::FEAT_DEBUG_UNWIND) && in ProcessFile()
154 reader_->HasFeature(PerfFileFormat::FEAT_DEBUG_UNWIND_FILE)) { in ProcessFile()
155 auto debug_unwind_feature = reader_->ReadDebugUnwindFeature(); in ProcessFile()
160 reader_->FeatureSectionDescriptors().at(PerfFileFormat::FEAT_DEBUG_UNWIND_FILE).offset; in ProcessFile()
196 std::unique_ptr<RecordFileReader> reader_; member in simpleperf::__anon7f0d915e0111::RecordFileProcessor
239 if (!reader_->ReadDataSection( in Process()
356 if (!writer_ || !writer_->WriteAttrSection(reader_->AttrSection())) { in Process()
359 if (!reader_->ReadDataSection( in Process()
389 auto attr = reader_->AttrSection()[0].attr; in WriteMapsForSample()
390 auto event_id = reader_->AttrSection()[0].ids[0]; in WriteMapsForSample()
410 if (!writer_->BeginWriteFeatures(reader_->FeatureSectionDescriptors().size())) { in WriteFeatureSections()
417 for (const auto& p : reader_->FeatureSectionDescriptors()) { in WriteFeatureSections()
438 while (reader_->ReadFileFeature(read_pos, &file_feature)) { in WriteFeatureSections()
444 std::vector<BuildIdRecord> build_ids = reader_->ReadBuildIdFeature(); in WriteFeatureSections()
455 if (!reader_->ReadFeatureSection(feat_type, &buffer) || in WriteFeatureSections()
469 if (!reader_->ReadAtOffset(offset, buffer.data(), nread) || in CopyDebugUnwindFile()
502 if (!reader_->ReadDataSection( in Process()