Home
last modified time | relevance | path

Searched refs:featureSection (Results 1 – 6 of 6) sorted by relevance

/developtools/hiperf/src/
Dperf_file_writer.cpp369 for (auto &featureSection : featureSections_) { in WriteFeatureData() local
370 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() local
390 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 …]
Dsubcommand_report.cpp288 const auto featureSection = recordFileReader_->GetFeatureSection(FEATURE::HIPERF_FILES_SYMBOL); in ProcessSymbolsData() local
289 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() local
310 if (featureSection != nullptr) { in ProcessUniStackTableData()
312 … static_cast<PerfFileSectionUniStackTable *>(const_cast<PerfFileSection *>(featureSection)); in ProcessUniStackTableData()
323 const PerfFileSection *featureSection = in UpdateReportInfo() local
326 if (featureSection != nullptr) { in UpdateReportInfo()
329 static_cast<const PerfFileSectionString *>(featureSection); in UpdateReportInfo()
345 const PerfFileSection *featureSection = in LoadEventConfigData() local
[all …]
Dsubcommand_dump.cpp270 for (auto &featureSection : reader_->GetFeatureSections()) { in DumpPrintFileHeader() local
271 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() local
521 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 …]
Dhiperf_libreport.cpp131 for (auto &featureSection : reader->GetFeatureSections()) { in ReportGetSymbolFiles() local
132 if (featureSection->featureId_ == FEATURE::HIPERF_FILES_SYMBOL) { in ReportGetSymbolFiles()
134 static_cast<const PerfFileSectionSymbolsFiles *>(featureSection.get()); in ReportGetSymbolFiles()
Dperf_file_reader.cpp379 const PerfFileSection *featureSection = GetFeatureSection(feature); in GetFeatureString() local
380 if (featureSection != nullptr) { in GetFeatureString()
382 static_cast<const PerfFileSectionString *>(featureSection); in GetFeatureString()
/developtools/smartperf_host/trace_streamer/src/parser/hiperf_parser/
Dperf_data_parser.cpp486 … const PerfFileSection *featureSection = recordDataReader_->GetFeatureSection(FEATURE::EVENT_DESC); in UpdateEventConfigInfo() local
487 if (featureSection) { in UpdateEventConfigInfo()
497 const auto featureSection = recordDataReader_->GetFeatureSection(FEATURE::EVENT_DESC); in LoadEventDesc() local
498 const auto &sectionEventdesc = *static_cast<const PerfFileSectionEventDesc *>(featureSection); in LoadEventDesc()
522 auto featureSection = recordDataReader_->GetFeatureSection(FEATURE::HIPERF_WORKLOAD_CMD); in UpdateReportWorkloadInfo() local
524 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() local
555 if (featureSection != nullptr) { in UpdateSymbolAndFilesData()
557 static_cast<const PerfFileSectionSymbolsFiles *>(featureSection); in UpdateSymbolAndFilesData()