Home
last modified time | relevance | path

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

/developtools/hiperf/src/
Dperf_file_writer.cpp365 for (auto &featureSection : featureSections_) { in WriteFeatureData() local
366 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() local
386 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 …]
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.cpp271 for (auto &featureSection : reader_->GetFeatureSections()) { in DumpPrintFileHeader() local
272 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() local
522 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 …]
Dhiperf_libreport.cpp131 for (auto &featureSection : reader->GetFeatureSections()) { in ReportGetSymbolFiles() local
132 if (featureSection.get()->featureId_ == FEATURE::HIPERF_FILES_SYMBOL) { in ReportGetSymbolFiles()
134 static_cast<const PerfFileSectionSymbolsFiles *>(featureSection.get()); in ReportGetSymbolFiles()
Dperf_file_reader.cpp374 const PerfFileSection *featureSection = GetFeatureSection(feature); in GetFeatureString() local
375 if (featureSection != nullptr) { in GetFeatureString()
377 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()