Searched refs:featureSection (Results 1 – 6 of 6) sorted by relevance
365 for (auto &featureSection : featureSections_) { in WriteFeatureData() local366 featureSection->header.offset = contentOffset; in WriteFeatureData()367 featureSection->header.size = featureSection->GetSize(); in WriteFeatureData()368 contentOffset += featureSection->header.size; in WriteFeatureData()370 featureSection->header.offset, featureSection->header.size); in WriteFeatureData()374 if (!Write(&featureSection->header, sizeof(featureSection->header))) { in WriteFeatureData()385 for (auto &featureSection : featureSections_) { in WriteFeatureData() local386 std::vector<char> buf(featureSection->header.size); in WriteFeatureData()387 featureSection->GetBinary(&buf[0], featureSection->header.size); in WriteFeatureData()388 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()309 … auto featureSection = recordFileReader_->GetFeatureSection(FEATURE::HIPERF_FILES_UNISTACK_TABLE); in ProcessUniStackTableData() local310 if (featureSection != nullptr) { in ProcessUniStackTableData()312 … static_cast<PerfFileSectionUniStackTable *>(const_cast<PerfFileSection *>(featureSection)); in ProcessUniStackTableData()323 const PerfFileSection *featureSection = in UpdateReportInfo() local326 if (featureSection != nullptr) { in UpdateReportInfo()329 static_cast<const PerfFileSectionString *>(featureSection); in UpdateReportInfo()345 const PerfFileSection *featureSection = in LoadEventConfigData() local[all …]
271 for (auto &featureSection : reader_->GetFeatureSections()) { in DumpPrintFileHeader() local272 if (featureSection.get()->featureId_ == FEATURE::HIPERF_FILES_SYMBOL) { in DumpPrintFileHeader()274 static_cast<const PerfFileSectionSymbolsFiles *>(featureSection.get()); in DumpPrintFileHeader()276 } else if (featureSection.get()->featureId_ == FEATURE::HIPERF_FILES_UNISTACK_TABLE) { in DumpPrintFileHeader()278 static_cast<const PerfFileSectionUniStackTable *>(featureSection.get()); in DumpPrintFileHeader()521 for (auto &featureSection : featureSections) { in DumpFeaturePortion() local522 PrintIndent(LEVEL1, "feature %d:%s content: \n", featureSection.get()->featureId_, in DumpFeaturePortion()523 PerfFileSection::GetFeatureName(featureSection.get()->featureId_).c_str()); in DumpFeaturePortion()524 if (reader_->IsFeatrureStringSection(featureSection.get()->featureId_)) { in DumpFeaturePortion()526 static_cast<const PerfFileSectionString *>(featureSection.get()); in DumpFeaturePortion()[all …]
131 for (auto &featureSection : reader->GetFeatureSections()) { in ReportGetSymbolFiles() local132 if (featureSection.get()->featureId_ == FEATURE::HIPERF_FILES_SYMBOL) { in ReportGetSymbolFiles()134 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()
486 … const PerfFileSection* featureSection = recordDataReader_->GetFeatureSection(FEATURE::EVENT_DESC); in UpdateEventConfigInfo() local487 if (featureSection) { in UpdateEventConfigInfo()497 const auto featureSection = recordDataReader_->GetFeatureSection(FEATURE::EVENT_DESC); in LoadEventDesc() local498 const auto& sectionEventdesc = *static_cast<const PerfFileSectionEventDesc*>(featureSection); in LoadEventDesc()522 auto featureSection = recordDataReader_->GetFeatureSection(FEATURE::HIPERF_WORKLOAD_CMD); in UpdateReportWorkloadInfo() local524 if (featureSection) { in UpdateReportWorkloadInfo()526 auto sectionString = static_cast<const PerfFileSectionString*>(featureSection); in UpdateReportWorkloadInfo()554 const auto featureSection = recordDataReader_->GetFeatureSection(FEATURE::HIPERF_FILES_SYMBOL); in UpdateSymbolAndFilesData() local555 if (featureSection != nullptr) { in UpdateSymbolAndFilesData()557 static_cast<const PerfFileSectionSymbolsFiles*>(featureSection); in UpdateSymbolAndFilesData()