Home
last modified time | relevance | path

Searched refs:PerfFileFormat (Results 1 – 14 of 14) sorted by relevance

/system/extras/simpleperf/
Drecord_file.h119 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_;
Dcmd_merge.cpp182 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()
Dcmd_debug_unwind.cpp151 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()
Dcmd_trace_sched_test.cpp40 using namespace PerfFileFormat;
Drecord_file_format.h81 namespace PerfFileFormat {
Drecord_file_reader.cpp33 using namespace PerfFileFormat;
35 namespace PerfFileFormat { namespace
599 if (HasFeature(PerfFileFormat::FEAT_FILE)) { in LoadBuildIdAndFileFeatures()
676 PerfFileFormat::FileHeader header; in IsPerfDataFile()
Dcmd_kmem.cpp546 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()
Drecord_file_test.cpp35 using namespace simpleperf::PerfFileFormat;
Dcmd_report.cpp800 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()
Drecord_file_writer.cpp41 using namespace PerfFileFormat;
Dcmd_record.cpp1809 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()
Dreport_lib_interface.cpp388 int feature = PerfFileFormat::GetFeatureId(feature_name); in GetFeatureSection()
Dcmd_dumprecord.cpp42 using namespace PerfFileFormat;
Dcmd_record_test.cpp52 using namespace PerfFileFormat;