Searched refs:PerfFileFormat (Results 1 – 14 of 14) sorted by relevance
/system/extras/simpleperf/ |
D | record_file.h | 119 std::map<int, PerfFileFormat::SectionDesc> features_; 132 const PerfFileFormat::FileHeader& FileHeader() const { return header_; } in FileHeader() 145 const std::map<int, PerfFileFormat::SectionDesc>& FeatureSectionDescriptors() const { in FeatureSectionDescriptors() 197 bool ReadIdsForAttr(const PerfFileFormat::FileAttr& attr, std::vector<uint64_t>* ids); 209 PerfFileFormat::FileHeader header_; 210 std::vector<PerfFileFormat::FileAttr> file_attrs_; 213 std::map<int, PerfFileFormat::SectionDesc> feature_section_descriptors_;
|
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) { in MergeFeatureSection()
|
D | cmd_debug_unwind.cpp | 151 GetArchType(reader_->ReadFeatureString(PerfFileFormat::FEAT_ARCH))); in ProcessFile() 153 if (reader_->HasFeature(PerfFileFormat::FEAT_DEBUG_UNWIND) && in ProcessFile() 154 reader_->HasFeature(PerfFileFormat::FEAT_DEBUG_UNWIND_FILE)) { in ProcessFile() 160 reader_->FeatureSectionDescriptors().at(PerfFileFormat::FEAT_DEBUG_UNWIND_FILE).offset; in ProcessFile() 414 PerfFileFormat::FEAT_ARCH, PerfFileFormat::FEAT_CMDLINE, PerfFileFormat::FEAT_META_INFO}; in WriteFeatureSections() 419 if (feat_type == PerfFileFormat::FEAT_DEBUG_UNWIND) { in WriteFeatureSections() 435 } else if (feat_type == PerfFileFormat::FEAT_FILE) { in WriteFeatureSections() 443 } else if (feat_type == PerfFileFormat::FEAT_BUILD_ID) { in WriteFeatureSections() 470 !writer_->WriteFeature(PerfFileFormat::FEAT_DEBUG_UNWIND_FILE, buffer.data(), nread)) { in CopyDebugUnwindFile()
|
D | cmd_trace_sched_test.cpp | 40 using namespace PerfFileFormat;
|
D | record_file_format.h | 81 namespace PerfFileFormat {
|
D | record_file_reader.cpp | 33 using namespace PerfFileFormat; 35 namespace PerfFileFormat { namespace 599 if (HasFeature(PerfFileFormat::FEAT_FILE)) { in LoadBuildIdAndFileFeatures() 676 PerfFileFormat::FileHeader header; in IsPerfDataFile()
|
D | cmd_kmem.cpp | 546 std::string arch = record_file_reader_->ReadFeatureString(PerfFileFormat::FEAT_ARCH); in ReadFeaturesFromRecordFile() 557 if (record_file_reader_->HasFeature(PerfFileFormat::FEAT_TRACING_DATA)) { in ReadFeaturesFromRecordFile() 559 if (!record_file_reader_->ReadFeatureSection(PerfFileFormat::FEAT_TRACING_DATA, in ReadFeaturesFromRecordFile()
|
D | record_file_test.cpp | 35 using namespace simpleperf::PerfFileFormat;
|
D | cmd_report.cpp | 800 std::string arch = record_file_reader_->ReadFeatureString(PerfFileFormat::FEAT_ARCH); in ReadFeaturesFromRecordFile() 828 if (record_file_reader_->HasFeature(PerfFileFormat::FEAT_TRACING_DATA)) { in ReadFeaturesFromRecordFile() 830 if (!record_file_reader_->ReadFeatureSection(PerfFileFormat::FEAT_TRACING_DATA, in ReadFeaturesFromRecordFile()
|
D | record_file_writer.cpp | 41 using namespace PerfFileFormat;
|
D | cmd_record.cpp | 1809 if (!record_file_writer_->WriteFeatureString(PerfFileFormat::FEAT_OSRELEASE, uname_buf.release)) { in DumpAdditionalFeatures() 1812 if (!record_file_writer_->WriteFeatureString(PerfFileFormat::FEAT_ARCH, uname_buf.machine)) { in DumpAdditionalFeatures() 1954 if (!record_file_writer_->WriteFeature(PerfFileFormat::FEAT_DEBUG_UNWIND_FILE, in DumpDebugUnwindFeature()
|
D | report_lib_interface.cpp | 388 int feature = PerfFileFormat::GetFeatureId(feature_name); in GetFeatureSection()
|
D | cmd_dumprecord.cpp | 42 using namespace PerfFileFormat;
|
D | cmd_record_test.cpp | 52 using namespace PerfFileFormat;
|