Searched refs:featureSection (Results 1 – 7 of 7) sorted by relevance
364 for (auto &featureSection : featureSections_) { in WriteFeatureData() local365 featureSection->header.offset = contentOffset; in WriteFeatureData()366 featureSection->header.size = featureSection->GetSize(); in WriteFeatureData()367 contentOffset += featureSection->header.size; in WriteFeatureData()369 featureSection->header.offset, featureSection->header.size); in WriteFeatureData()373 if (!Write(&featureSection->header, sizeof(featureSection->header))) { in WriteFeatureData()384 for (auto &featureSection : featureSections_) { in WriteFeatureData() local385 std::vector<char> buf(featureSection->header.size); in WriteFeatureData()386 featureSection->GetBinary(&buf[0], featureSection->header.size); in WriteFeatureData()387 HLOGV("save features[%d] content size '0x%" PRIx64 "'", i, featureSection->header.size); in WriteFeatureData()[all …]
288 const auto featureSection = recordFileReader_->GetFeatureSection(FEATURE::HIPERF_FILES_SYMBOL); in ProcessSymbolsData() local289 if (featureSection != nullptr) { in ProcessSymbolsData()291 static_cast<const PerfFileSectionSymbolsFiles *>(featureSection); in ProcessSymbolsData()312 const PerfFileSection *featureSection = in UpdateReportInfo() local315 if (featureSection != nullptr) { in UpdateReportInfo()318 static_cast<const PerfFileSectionString *>(featureSection); in UpdateReportInfo()334 const PerfFileSection *featureSection = in LoadEventConfigData() local336 if (featureSection != nullptr) { in LoadEventConfigData()349 const PerfFileSection *featureSection = in LoadEventDesc() local352 *static_cast<const PerfFileSectionEventDesc *>(featureSection); in LoadEventDesc()[all …]
267 for (auto &featureSection : reader_->GetFeatureSections()) { in DumpPrintFileHeader() local268 if (featureSection.get()->featureId_ == FEATURE::HIPERF_FILES_SYMBOL) { in DumpPrintFileHeader()270 static_cast<const PerfFileSectionSymbolsFiles *>(featureSection.get()); in DumpPrintFileHeader()510 for (auto &featureSection : featureSections) { in DumpFeaturePortion() local511 PrintIndent(LEVEL1, "feature %d:%s content: \n", featureSection.get()->featureId_, in DumpFeaturePortion()512 PerfFileSection::GetFeatureName(featureSection.get()->featureId_).c_str()); in DumpFeaturePortion()513 if (reader_->IsFeatrureStringSection(featureSection.get()->featureId_)) { in DumpFeaturePortion()515 static_cast<const PerfFileSectionString *>(featureSection.get()); in DumpFeaturePortion()518 } else if (featureSection.get()->featureId_ == FEATURE::EVENT_DESC) { in DumpFeaturePortion()520 indent, *static_cast<const PerfFileSectionEventDesc *>(featureSection.get())); in DumpFeaturePortion()[all …]
137 for (auto &featureSection : reader->GetFeatureSections()) { in ReportGetSymbolFiles() local138 if (featureSection.get()->featureId_ == FEATURE::HIPERF_FILES_SYMBOL) { in ReportGetSymbolFiles()140 static_cast<const PerfFileSectionSymbolsFiles *>(featureSection.get()); in ReportGetSymbolFiles()
374 const PerfFileSection *featureSection = GetFeatureSection(feature); in GetFeatureString() local375 if (featureSection != nullptr) { in GetFeatureString()377 static_cast<const PerfFileSectionString *>(featureSection); in GetFeatureString()
128 … const PerfFileSection* featureSection = recordDataReader_->GetFeatureSection(FEATURE::EVENT_DESC); in UpdateEventConfigInfo() local129 if (featureSection) { in UpdateEventConfigInfo()139 const auto featureSection = recordDataReader_->GetFeatureSection(FEATURE::EVENT_DESC); in LoadEventDesc() local140 const auto& sectionEventdesc = *static_cast<const PerfFileSectionEventDesc*>(featureSection); in LoadEventDesc()164 auto featureSection = recordDataReader_->GetFeatureSection(FEATURE::HIPERF_WORKLOAD_CMD); in UpdateReportWorkloadInfo() local166 if (featureSection) { in UpdateReportWorkloadInfo()168 auto sectionString = static_cast<const PerfFileSectionString*>(featureSection); in UpdateReportWorkloadInfo()196 const auto featureSection = recordDataReader_->GetFeatureSection(FEATURE::HIPERF_FILES_SYMBOL); in UpdateSymbolAndFilesData() local197 if (featureSection != nullptr) { in UpdateSymbolAndFilesData()199 static_cast<const PerfFileSectionSymbolsFiles*>(featureSection); in UpdateSymbolAndFilesData()
125 … const PerfFileSection* featureSection = recordDataReader_->GetFeatureSection(FEATURE::EVENT_DESC); in UpdateEventConfigInfo() local126 if (featureSection) { in UpdateEventConfigInfo()136 const auto featureSection = recordDataReader_->GetFeatureSection(FEATURE::EVENT_DESC); in LoadEventDesc() local137 const auto& sectionEventdesc = *static_cast<const PerfFileSectionEventDesc*>(featureSection); in LoadEventDesc()161 auto featureSection = recordDataReader_->GetFeatureSection(FEATURE::HIPERF_WORKLOAD_CMD); in UpdateReportWorkloadInfo() local163 if (featureSection) { in UpdateReportWorkloadInfo()165 auto sectionString = static_cast<const PerfFileSectionString*>(featureSection); in UpdateReportWorkloadInfo()193 const auto featureSection = recordDataReader_->GetFeatureSection(FEATURE::HIPERF_FILES_SYMBOL); in UpdateSymbolAndFilesData() local194 if (featureSection != nullptr) { in UpdateSymbolAndFilesData()196 static_cast<const PerfFileSectionSymbolsFiles*>(featureSection); in UpdateSymbolAndFilesData()