Searched refs:record_file_reader_ (Results 1 – 5 of 5) sorted by relevance
55 std::unique_ptr<RecordFileReader> record_file_reader_; member in DumpRecordCommand63 record_file_reader_ = RecordFileReader::CreateInstance(record_filename_); in Run()64 if (record_file_reader_ == nullptr) { in Run()67 std::string arch = record_file_reader_->ReadFeatureString(FEAT_ARCH); in Run()96 const FileHeader& header = record_file_reader_->FileHeader(); in DumpFileHeader()161 std::vector<EventAttrWithId> attrs = record_file_reader_->AttrSection(); in DumpAttrSection()177 record_file_reader_->ReadDataSection([](std::unique_ptr<Record> record) { in DumpDataSection()184 std::map<int, SectionDesc> section_map = record_file_reader_->FeatureSectionDescriptors(); in DumpFeatureSection()191 std::vector<BuildIdRecord> records = record_file_reader_->ReadBuildIdFeature(); in DumpFeatureSection()196 std::string s = record_file_reader_->ReadFeatureString(feature); in DumpFeatureSection()[all …]
144 std::unique_ptr<RecordFileReader> record_file_reader_; member in ReportLib181 if (record_file_reader_ == nullptr) { in OpenRecordFileIfNecessary()182 record_file_reader_ = RecordFileReader::CreateInstance(record_filename_); in OpenRecordFileIfNecessary()183 if (record_file_reader_ == nullptr) { in OpenRecordFileIfNecessary()186 record_file_reader_->LoadBuildIdAndFileFeatures(thread_tree_); in OpenRecordFileIfNecessary()197 if (!record_file_reader_->ReadRecord(record)) { in GetNextSample()235 std::vector<EventAttrWithId> attrs = record_file_reader_->AttrSection(); in GetEventOfCurrentSample()244 record_file_reader_->GetAttrIndexOfRecord(current_record_.get()); in GetEventOfCurrentSample()
347 std::unique_ptr<RecordFileReader> record_file_reader_; member in __anoncbe18e6d0111::KmemCommand480 record_file_reader_ = RecordFileReader::CreateInstance(record_filename_); in ReportKmemInfo()481 if (record_file_reader_ == nullptr) { in ReportKmemInfo()559 std::vector<EventAttrWithId> attrs = record_file_reader_->AttrSection(); in ReadEventAttrsFromRecordFile()570 record_file_reader_->LoadBuildIdAndFileFeatures(thread_tree_); in ReadFeaturesFromRecordFile()572 record_file_reader_->ReadFeatureString(PerfFileFormat::FEAT_ARCH); in ReadFeaturesFromRecordFile()579 std::vector<std::string> cmdline = record_file_reader_->ReadCmdlineFeature(); in ReadFeaturesFromRecordFile()583 if (record_file_reader_->HasFeature(PerfFileFormat::FEAT_TRACING_DATA)) { in ReadFeaturesFromRecordFile()585 if (!record_file_reader_->ReadFeatureSection( in ReadFeaturesFromRecordFile()595 if (!record_file_reader_->ReadDataSection( in ReadSampleTreeFromRecordFile()
370 std::unique_ptr<RecordFileReader> record_file_reader_; member in __anon235bfe9f0111::ReportCommand400 record_file_reader_ = RecordFileReader::CreateInstance(record_filename_); in Run()401 if (record_file_reader_ == nullptr) { in Run()660 std::vector<EventAttrWithId> attrs = record_file_reader_->AttrSection(); in ReadEventAttrFromRecordFile()685 record_file_reader_->LoadBuildIdAndFileFeatures(thread_tree_); in ReadFeaturesFromRecordFile()688 record_file_reader_->ReadFeatureString(PerfFileFormat::FEAT_ARCH); in ReadFeaturesFromRecordFile()696 std::vector<std::string> cmdline = record_file_reader_->ReadCmdlineFeature(); in ReadFeaturesFromRecordFile()715 if (record_file_reader_->HasFeature(PerfFileFormat::FEAT_TRACING_DATA)) { in ReadFeaturesFromRecordFile()717 if (!record_file_reader_->ReadFeatureSection( in ReadFeaturesFromRecordFile()741 if (!record_file_reader_->ReadDataSection( in ReadSampleTreeFromRecordFile()[all …]
103 std::unique_ptr<RecordFileReader> record_file_reader_; member in __anon5d136c400111::ReportSampleCommand142 record_file_reader_ = RecordFileReader::CreateInstance(record_filename_); in Run()143 if (record_file_reader_ == nullptr) { in Run()146 record_file_reader_->LoadBuildIdAndFileFeatures(thread_tree_); in Run()169 if (!record_file_reader_->ReadDataSection( in Run()