Searched refs:record_file_reader_ (Results 1 – 6 of 6) sorted by relevance
163 std::unique_ptr<RecordFileReader> record_file_reader_; member in __anonb955a9b80111::DumpRecordCommand174 record_file_reader_ = RecordFileReader::CreateInstance(record_filename_); in Run()175 if (record_file_reader_ == nullptr) { in Run()221 const FileHeader& header = record_file_reader_->FileHeader(); in DumpFileHeader()258 std::vector<EventAttrWithId> attrs = record_file_reader_->AttrSection(); in DumpAttrSection()275 record_file_reader_->LoadBuildIdAndFileFeatures(thread_tree_); in DumpDataSection()280 return record_file_reader_->ReadDataSection(record_callback); in DumpDataSection()336 size_t attr_index = record_file_reader_->GetAttrIndexOfRecord(&sr); in ProcessSampleRecord()373 if (!record_file_reader_->ReadAuxData(aux.Cpu(), aux.data->aux_offset, data.get(), size)) { in DumpAuxData()383 std::vector<EventAttrWithId> attrs = record_file_reader_->AttrSection(); in ProcessTracingData()[all …]
179 std::unique_ptr<RecordFileReader> record_file_reader_; member in ReportLib225 if (record_file_reader_ == nullptr) { in OpenRecordFileIfNecessary()226 record_file_reader_ = RecordFileReader::CreateInstance(record_filename_); in OpenRecordFileIfNecessary()227 if (record_file_reader_ == nullptr) { in OpenRecordFileIfNecessary()230 record_file_reader_->LoadBuildIdAndFileFeatures(thread_tree_); in OpenRecordFileIfNecessary()231 auto& meta_info = record_file_reader_->GetMetaInfoFeature(); in OpenRecordFileIfNecessary()254 if (!record_file_reader_->ReadRecord(record)) { in GetNextSample()386 attr_index = record_file_reader_->GetAttrIndexOfRecord(current_record_.get()); in FindEventOfCurrentSample()392 std::vector<EventAttrWithId> attrs = record_file_reader_->AttrSection(); in CreateEvents()455 if (feature == -1 || !record_file_reader_->ReadFeatureSection(feature, &feature_section_data_)) { in GetFeatureSection()
460 std::unique_ptr<RecordFileReader> record_file_reader_; member in __anon235bfe9f0111::ReportCommand494 record_file_reader_ = RecordFileReader::CreateInstance(record_filename_); in Run()495 if (record_file_reader_ == nullptr) { in Run()763 auto& meta_info = record_file_reader_->GetMetaInfoFeature(); in ReadMetaInfoFromRecordFile()773 std::vector<EventAttrWithId> attrs = record_file_reader_->AttrSection(); in ReadEventAttrFromRecordFile()808 record_file_reader_->LoadBuildIdAndFileFeatures(thread_tree_); in ReadFeaturesFromRecordFile()811 record_file_reader_->ReadFeatureString(PerfFileFormat::FEAT_ARCH); in ReadFeaturesFromRecordFile()819 std::vector<std::string> cmdline = record_file_reader_->ReadCmdlineFeature(); in ReadFeaturesFromRecordFile()822 if (record_file_reader_->GetMetaInfoFeature().count("system_wide_collection")) { in ReadFeaturesFromRecordFile()840 if (record_file_reader_->HasFeature(PerfFileFormat::FEAT_TRACING_DATA)) { in ReadFeaturesFromRecordFile()[all …]
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()558 std::vector<EventAttrWithId> attrs = record_file_reader_->AttrSection(); in ReadEventAttrsFromRecordFile()569 record_file_reader_->LoadBuildIdAndFileFeatures(thread_tree_); in ReadFeaturesFromRecordFile()571 record_file_reader_->ReadFeatureString(PerfFileFormat::FEAT_ARCH); in ReadFeaturesFromRecordFile()578 std::vector<std::string> cmdline = record_file_reader_->ReadCmdlineFeature(); in ReadFeaturesFromRecordFile()582 if (record_file_reader_->HasFeature(PerfFileFormat::FEAT_TRACING_DATA)) { in ReadFeaturesFromRecordFile()584 if (!record_file_reader_->ReadFeatureSection( in ReadFeaturesFromRecordFile()594 if (!record_file_reader_->ReadDataSection( in ReadSampleTreeFromRecordFile()
131 std::unique_ptr<RecordFileReader> record_file_reader_; member in __anon5d136c400111::ReportSampleCommand206 if (!record_file_reader_->ReadDataSection( in Run()422 record_file_reader_ = RecordFileReader::CreateInstance(record_filename_); in OpenRecordFile()423 if (record_file_reader_ == nullptr) { in OpenRecordFile()426 record_file_reader_->LoadBuildIdAndFileFeatures(thread_tree_); in OpenRecordFile()427 auto& meta_info = record_file_reader_->GetMetaInfoFeature(); in OpenRecordFile()434 for (EventAttrWithId& attr : record_file_reader_->AttrSection()) { in OpenRecordFile()441 auto& meta_info = record_file_reader_->GetMetaInfoFeature(); in PrintMetaInfo()536 sample->set_event_type_id(record_file_reader_->GetAttrIndexOfRecord(&r)); in PrintSampleRecordInProtobuf()664 event_types_[record_file_reader_->GetAttrIndexOfRecord(&r)].data()); in PrintSampleRecord()
193 record_file_reader_ = RecordFileReader::CreateInstance(input_filename_); in ProcessInputFile()194 if (!record_file_reader_) { in ProcessInputFile()197 record_file_reader_->LoadBuildIdAndFileFeatures(thread_tree_); in ProcessInputFile()198 if (!record_file_reader_->ReadDataSection( in ProcessInputFile()232 if (!record_file_reader_->ReadAuxData(aux->Cpu(), aux->data->aux_offset, in ProcessRecord()439 std::unique_ptr<RecordFileReader> record_file_reader_; member in __anon690e1f400111::InjectCommand