Home
last modified time | relevance | path

Searched refs:PerfFileSection (Results 1 – 10 of 10) sorted by relevance

/developtools/hiperf/src/
Dperf_file_format.cpp22 std::string PerfFileSection::GetFeatureName(FEATURE featureId) in GetFeatureName()
40 void PerfFileSection::Init(const char *buffer, size_t maxSize) in Init()
48 void PerfFileSection::Init(char *buffer, size_t maxSize) in Init()
55 bool PerfFileSection::Write(uint32_t u32) in Write()
61 bool PerfFileSection::Write(uint64_t u64) in Write()
67 bool PerfFileSection::Write(const std::string &str) in Write()
76 bool PerfFileSection::Write(const char *buf, size_t size) in Write()
81 bool PerfFileSection::Write(const char *buf, size_t size, size_t max) in Write()
100 bool PerfFileSection::Read(uint32_t &value) in Read()
106 bool PerfFileSection::Read(uint64_t &value) in Read()
[all …]
Dperf_file_writer.cpp312 static bool LeftLessRight(const std::unique_ptr<PerfFileSection> &l, in LeftLessRight()
313 const std::unique_ptr<PerfFileSection> &r) in LeftLessRight()
405 PerfFileSection::GetFeatureName(FEATURE::NRCPUS).c_str(), nrCpusAvailable, nrCpusOnline); in AddNrCpusFeature()
418 HLOGV("add feature '%s' %zu", PerfFileSection::GetFeatureName(FEATURE::EVENT_DESC).c_str(), in AddEventDescFeature()
429 HLOGV("add feature '%s' string '%s'", PerfFileSection::GetFeatureName(feature).c_str(), in AddStringFeature()
447 PerfFileSection::GetFeatureName(feature).c_str(), v); in AddU64Feature()
Dperf_file_reader.cpp362 const std::vector<std::unique_ptr<PerfFileSection>> &PerfFileReader::GetFeatureSections() const in GetFeatureSections()
369 std::string featureName = PerfFileSection::GetFeatureName(feature); in GetFeatureString()
374 const PerfFileSection *featureSection = GetFeatureSection(feature); in GetFeatureString()
386 const PerfFileSection *PerfFileReader::GetFeatureSection(FEATURE feature) const in GetFeatureSection()
411 HLOGV("process feature %d:%s", feature, PerfFileSection::GetFeatureName(feature).c_str()); in ReadFeatureSection()
Dsubcommand_report.cpp312 … static_cast<PerfFileSectionUniStackTable *>(const_cast<PerfFileSection *>(featureSection)); in ProcessUniStackTableData()
323 const PerfFileSection *featureSection = in UpdateReportInfo()
345 const PerfFileSection *featureSection = in LoadEventConfigData()
360 const PerfFileSection *featureSection = in LoadEventDesc()
508 PerfFileSection::GetFeatureName(featureSection.get()->featureId_).c_str(), in OutputStd()
Dsubcommand_dump.cpp262 PrintIndent(indent, "feature: %s\n", PerfFileSection::GetFeatureName(feature).c_str()); in DumpPrintFileHeader()
513 PerfFileSection::GetFeatureName(feature).c_str()); in DumpFeaturePortion()
523 PerfFileSection::GetFeatureName(featureSection.get()->featureId_).c_str()); in DumpFeaturePortion()
554 … static_cast<PerfFileSectionUniStackTable *>(const_cast<PerfFileSection *>(featureSection.get())); in DumpFeaturePortion()
/developtools/hiperf/include/
Dperf_file_format.h128 class PerfFileSection {
135 virtual ~PerfFileSection() {} in ~PerfFileSection()
136 explicit PerfFileSection(const FEATURE featureId) : featureId_(featureId) in PerfFileSection() function
169 class PerfFileSectionString : public PerfFileSection {
204 class PerfFileSectionSymbolsFiles : public PerfFileSection {
210 : PerfFileSection(id), symbolFileStructs_(symbolFileStructs) in PerfFileSectionSymbolsFiles()
227 class PerfFileSectionNrCpus : public PerfFileSection {
240 class PerfFileSectionU64 : public PerfFileSection {
252 class PerfFileSectionUniStackTable : public PerfFileSection {
257 : PerfFileSection(id), processStackTable_(table) {} in PerfFileSectionUniStackTable()
[all …]
Dperf_file_reader.h48 const std::vector<std::unique_ptr<PerfFileSection>> &GetFeatureSections() const;
49 const PerfFileSection *GetFeatureSection(FEATURE feature) const;
90 std::vector<std::unique_ptr<PerfFileSection>> perfFileSections_;
Dperf_file_writer.h83 std::vector<std::unique_ptr<PerfFileSection>> featureSections_;
/developtools/hiperf/test/unittest/common/native/
Dperf_file_format_test.cpp66 std::string name = PerfFileSection::GetFeatureName(i);
72 std::string name = PerfFileSection::GetFeatureName(i);
77 std::string name = PerfFileSection::GetFeatureName(i);
83 std::string name = PerfFileSection::GetFeatureName(i);
/developtools/smartperf_host/trace_streamer/src/parser/hiperf_parser/
Dperf_data_parser.cpp486 … const PerfFileSection* featureSection = recordDataReader_->GetFeatureSection(FEATURE::EVENT_DESC); in UpdateEventConfigInfo()