Searched refs:PerfFileFormat (Results 1 – 16 of 16) sorted by relevance
/aosp_15_r20/system/extras/simpleperf/ |
H A D | cmd_merge.cpp | 182 return reader->ReadFeatureString(PerfFileFormat::FEAT_ARCH); in CheckFeatureSection() 185 return reader->ReadFeatureString(PerfFileFormat::FEAT_OSRELEASE); in CheckFeatureSection() 249 if (readers_[0]->HasFeature(PerfFileFormat::FEAT_AUXTRACE)) { in CheckFeatureSection() 331 if (feature == PerfFileFormat::FEAT_OSRELEASE || feature == PerfFileFormat::FEAT_ARCH || in MergeFeatureSection() 332 feature == PerfFileFormat::FEAT_BRANCH_STACK || in MergeFeatureSection() 333 feature == PerfFileFormat::FEAT_META_INFO || feature == PerfFileFormat::FEAT_CMDLINE) { in MergeFeatureSection() 339 } else if (feature == PerfFileFormat::FEAT_BUILD_ID) { in MergeFeatureSection() 341 } else if (feature == PerfFileFormat::FEAT_FILE || feature == PerfFileFormat::FEAT_FILE2) { in MergeFeatureSection()
|
H A D | record_file.h | 142 std::map<int, PerfFileFormat::SectionDesc> features_; 159 const PerfFileFormat::FileHeader& FileHeader() const { return header_; } in FileHeader() 165 const std::map<int, PerfFileFormat::SectionDesc>& FeatureSectionDescriptors() const { in FeatureSectionDescriptors() 244 bool CheckSectionDesc(const PerfFileFormat::SectionDesc& desc, uint64_t min_offset, 247 bool ReadIdSection(const PerfFileFormat::SectionDesc& section, std::vector<uint64_t>* ids); 266 PerfFileFormat::FileHeader header_; 269 std::map<int, PerfFileFormat::SectionDesc> feature_section_descriptors_;
|
H A D | cmd_debug_unwind.cpp | 153 GetArchType(reader_->ReadFeatureString(PerfFileFormat::FEAT_ARCH))); in ProcessFile() 155 if (reader_->HasFeature(PerfFileFormat::FEAT_DEBUG_UNWIND) && in ProcessFile() 156 reader_->HasFeature(PerfFileFormat::FEAT_DEBUG_UNWIND_FILE)) { in ProcessFile() 162 reader_->FeatureSectionDescriptors().at(PerfFileFormat::FEAT_DEBUG_UNWIND_FILE).offset; in ProcessFile() 428 PerfFileFormat::FEAT_ARCH, PerfFileFormat::FEAT_CMDLINE, PerfFileFormat::FEAT_META_INFO}; in WriteFeatureSections() 433 if (feat_type == PerfFileFormat::FEAT_DEBUG_UNWIND) { in WriteFeatureSections() 449 } else if (feat_type == PerfFileFormat::FEAT_FILE || in WriteFeatureSections() 450 feat_type == PerfFileFormat::FEAT_FILE2) { in WriteFeatureSections() 462 } else if (feat_type == PerfFileFormat::FEAT_BUILD_ID) { in WriteFeatureSections() 489 !writer_->WriteFeature(PerfFileFormat::FEAT_DEBUG_UNWIND_FILE, buffer.data(), nread)) { in CopyDebugUnwindFile()
|
H A D | simpleperf_writer_fuzzer.cpp | 106 mFdp.ConsumeBool() ? PerfFileFormat::FEAT_OSRELEASE : PerfFileFormat::FEAT_ARCH, in process()
|
H A D | cmd_kmem.cpp | 548 std::string arch = record_file_reader_->ReadFeatureString(PerfFileFormat::FEAT_ARCH); in ReadFeaturesFromRecordFile() 559 if (record_file_reader_->HasFeature(PerfFileFormat::FEAT_TRACING_DATA)) { in ReadFeaturesFromRecordFile() 561 if (!record_file_reader_->ReadFeatureSection(PerfFileFormat::FEAT_TRACING_DATA, in ReadFeaturesFromRecordFile()
|
H A D | record_file_reader.cpp | 36 using namespace PerfFileFormat; 38 namespace PerfFileFormat { namespace 598 PerfFileFormat::SectionDesc desc; in ReadFileFeature() 968 PerfFileFormat::FileHeader header; in IsPerfDataFile()
|
H A D | cmd_trace_sched_test.cpp | 40 using namespace PerfFileFormat;
|
H A D | record_file_format.h | 94 namespace PerfFileFormat {
|
H A D | cmd_report.cpp | 906 std::string arch = record_file_reader_->ReadFeatureString(PerfFileFormat::FEAT_ARCH); in ReadFeaturesFromRecordFile() 918 if (record_file_reader_->HasFeature(PerfFileFormat::FEAT_TRACING_DATA)) { in ReadFeaturesFromRecordFile() 920 if (!record_file_reader_->ReadFeatureSection(PerfFileFormat::FEAT_TRACING_DATA, in ReadFeaturesFromRecordFile()
|
H A D | cmd_record.cpp | 2087 if (!record_file_writer_->WriteFeatureString(PerfFileFormat::FEAT_OSRELEASE, uname_buf.release)) { in DumpAdditionalFeatures() 2090 if (!record_file_writer_->WriteFeatureString(PerfFileFormat::FEAT_ARCH, uname_buf.machine)) { in DumpAdditionalFeatures() 2227 if (!record_file_writer_->WriteFeature(PerfFileFormat::FEAT_DEBUG_UNWIND_FILE, in DumpDebugUnwindFeature() 2273 return record_file_writer_->WriteFeature(PerfFileFormat::FEAT_ETM_BRANCH_LIST, s.data(), in DumpETMBranchListFeature()
|
H A D | cmd_inject.cpp | 184 if (reader_->HasFeature(PerfFileFormat::FEAT_INIT_MAP)) { in Read() 276 if (reader_->HasFeature(PerfFileFormat::FEAT_ETM_BRANCH_LIST)) { in Read() 349 if (!reader_->ReadFeatureSection(PerfFileFormat::FEAT_ETM_BRANCH_LIST, &s)) { in ProcessETMBranchListFeature()
|
H A D | record_file_test.cpp | 36 using namespace simpleperf::PerfFileFormat;
|
H A D | record_file_writer.cpp | 41 using namespace PerfFileFormat;
|
H A D | cmd_dumprecord.cpp | 44 using namespace PerfFileFormat;
|
H A D | report_lib_interface.cpp | 648 int feature = PerfFileFormat::GetFeatureId(feature_name); in GetFeatureSection()
|
H A D | cmd_record_test.cpp | 53 using namespace PerfFileFormat;
|