Searched refs:featureSection (Results 1 – 6 of 6) sorted by relevance
369 for (auto &featureSection : featureSections_) { in WriteFeatureData() local370 featureSection->header.offset = contentOffset; in WriteFeatureData()371 featureSection->header.size = featureSection->GetSize(); in WriteFeatureData()372 contentOffset += featureSection->header.size; in WriteFeatureData()374 featureSection->header.offset, featureSection->header.size); in WriteFeatureData()378 if (!Write(&featureSection->header, sizeof(featureSection->header))) { in WriteFeatureData()389 for (auto &featureSection : featureSections_) { in WriteFeatureData() local390 std::vector<char> buf(featureSection->header.size); in WriteFeatureData()391 featureSection->GetBinary(&buf[0], featureSection->header.size); in WriteFeatureData()392 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 …]
270 for (auto &featureSection : reader_->GetFeatureSections()) { in DumpPrintFileHeader() local271 if (featureSection.get()->featureId_ == FEATURE::HIPERF_FILES_SYMBOL) { in DumpPrintFileHeader()273 static_cast<const PerfFileSectionSymbolsFiles *>(featureSection.get()); in DumpPrintFileHeader()275 } else if (featureSection.get()->featureId_ == FEATURE::HIPERF_FILES_UNISTACK_TABLE) { in DumpPrintFileHeader()277 static_cast<const PerfFileSectionUniStackTable *>(featureSection.get()); in DumpPrintFileHeader()520 for (auto &featureSection : featureSections) { in DumpFeaturePortion() local521 PRINT_INDENT(indent + 1, "feature %d:%s content: \n", featureSection.get()->featureId_, in DumpFeaturePortion()522 PerfFileSection::GetFeatureName(featureSection.get()->featureId_).c_str()); in DumpFeaturePortion()523 if (reader_->IsFeatrureStringSection(featureSection.get()->featureId_)) { in DumpFeaturePortion()525 static_cast<const PerfFileSectionString *>(featureSection.get()); in DumpFeaturePortion()[all …]
131 for (auto &featureSection : reader->GetFeatureSections()) { in ReportGetSymbolFiles() local132 if (featureSection->featureId_ == FEATURE::HIPERF_FILES_SYMBOL) { in ReportGetSymbolFiles()134 static_cast<const PerfFileSectionSymbolsFiles *>(featureSection.get()); in ReportGetSymbolFiles()
379 const PerfFileSection *featureSection = GetFeatureSection(feature); in GetFeatureString() local380 if (featureSection != nullptr) { in GetFeatureString()382 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 §ionEventdesc = *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()