Home
last modified time | relevance | path

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

/developtools/hiperf/src/
Dperf_file_writer.cpp364 for (auto &featureSection : featureSections_) { in WriteFeatureData() local
365 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() local
385 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 …]
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()
312 const PerfFileSection *featureSection = in UpdateReportInfo() local
315 if (featureSection != nullptr) { in UpdateReportInfo()
318 static_cast<const PerfFileSectionString *>(featureSection); in UpdateReportInfo()
334 const PerfFileSection *featureSection = in LoadEventConfigData() local
336 if (featureSection != nullptr) { in LoadEventConfigData()
349 const PerfFileSection *featureSection = in LoadEventDesc() local
352 *static_cast<const PerfFileSectionEventDesc *>(featureSection); in LoadEventDesc()
[all …]
Dsubcommand_dump.cpp267 for (auto &featureSection : reader_->GetFeatureSections()) { in DumpPrintFileHeader() local
268 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() local
511 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 …]
Dhiperf_libreport.cpp137 for (auto &featureSection : reader->GetFeatureSections()) { in ReportGetSymbolFiles() local
138 if (featureSection.get()->featureId_ == FEATURE::HIPERF_FILES_SYMBOL) { in ReportGetSymbolFiles()
140 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.cpp128 … const PerfFileSection* featureSection = recordDataReader_->GetFeatureSection(FEATURE::EVENT_DESC); in UpdateEventConfigInfo() local
129 if (featureSection) { in UpdateEventConfigInfo()
139 const auto featureSection = recordDataReader_->GetFeatureSection(FEATURE::EVENT_DESC); in LoadEventDesc() local
140 const auto& sectionEventdesc = *static_cast<const PerfFileSectionEventDesc*>(featureSection); in LoadEventDesc()
164 auto featureSection = recordDataReader_->GetFeatureSection(FEATURE::HIPERF_WORKLOAD_CMD); in UpdateReportWorkloadInfo() local
166 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() local
197 if (featureSection != nullptr) { in UpdateSymbolAndFilesData()
199 static_cast<const PerfFileSectionSymbolsFiles*>(featureSection); in UpdateSymbolAndFilesData()
/developtools/profiler/host/smartperf/trace_streamer/src/parser/hiperf_parser/
Dperf_data_parser.cpp125 … const PerfFileSection* featureSection = recordDataReader_->GetFeatureSection(FEATURE::EVENT_DESC); in UpdateEventConfigInfo() local
126 if (featureSection) { in UpdateEventConfigInfo()
136 const auto featureSection = recordDataReader_->GetFeatureSection(FEATURE::EVENT_DESC); in LoadEventDesc() local
137 const auto& sectionEventdesc = *static_cast<const PerfFileSectionEventDesc*>(featureSection); in LoadEventDesc()
161 auto featureSection = recordDataReader_->GetFeatureSection(FEATURE::HIPERF_WORKLOAD_CMD); in UpdateReportWorkloadInfo() local
163 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() local
194 if (featureSection != nullptr) { in UpdateSymbolAndFilesData()
196 static_cast<const PerfFileSectionSymbolsFiles*>(featureSection); in UpdateSymbolAndFilesData()