Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Drecord_file.h95 std::map<int, PerfFileFormat::SectionDesc> features_;
108 const PerfFileFormat::FileHeader& FileHeader() const { in FileHeader()
121 const std::map<int, PerfFileFormat::SectionDesc>& FeatureSectionDescriptors() const { in FeatureSectionDescriptors()
168 bool ReadIdsForAttr(const PerfFileFormat::FileAttr& attr, std::vector<uint64_t>* ids);
177 PerfFileFormat::FileHeader header_;
178 std::vector<PerfFileFormat::FileAttr> file_attrs_;
181 std::map<int, PerfFileFormat::SectionDesc> feature_section_descriptors_;
Dcmd_debug_unwind_test.cpp60 const std::map<int, PerfFileFormat::SectionDesc>& features = reader->FeatureSectionDescriptors(); in TEST()
61 ASSERT_NE(features.find(PerfFileFormat::FEAT_FILE), features.end()); in TEST()
62 ASSERT_NE(features.find(PerfFileFormat::FEAT_META_INFO), features.end()); in TEST()
Dcmd_debug_unwind.cpp197 ScopedCurrentArch scoped_arch(GetArchType(reader_->ReadFeatureString(PerfFileFormat::FEAT_ARCH))); in UnwindRecordFile()
344 const std::map<int, PerfFileFormat::SectionDesc>& features = reader_->FeatureSectionDescriptors(); in WriteFeatureSections()
346 for (int feature : {PerfFileFormat::FEAT_FILE, PerfFileFormat::FEAT_META_INFO}) { in WriteFeatureSections()
357 while (it != features.end() && it->first < PerfFileFormat::FEAT_FILE) { in WriteFeatureSections()
365 if (it != features.end() && it->first == PerfFileFormat::FEAT_FILE) { in WriteFeatureSections()
373 if (it != features.end() && it->first == PerfFileFormat::FEAT_META_INFO) { in WriteFeatureSections()
Dcmd_trace_sched_test.cpp39 using namespace PerfFileFormat;
Drecord_file_format.h70 namespace PerfFileFormat {
Dcmd_dumprecord.cpp35 using namespace PerfFileFormat;
77 if (record_file_reader_->HasFeature(PerfFileFormat::FEAT_META_INFO)) { in Run()
Drecord_file_reader.cpp30 using namespace PerfFileFormat;
32 namespace PerfFileFormat { namespace
499 if (HasFeature(PerfFileFormat::FEAT_FILE)) { in LoadBuildIdAndFileFeatures()
Drecord_file_test.cpp33 using namespace PerfFileFormat;
Dcmd_kmem.cpp571 record_file_reader_->ReadFeatureString(PerfFileFormat::FEAT_ARCH); in ReadFeaturesFromRecordFile()
582 if (record_file_reader_->HasFeature(PerfFileFormat::FEAT_TRACING_DATA)) { in ReadFeaturesFromRecordFile()
585 PerfFileFormat::FEAT_TRACING_DATA, &tracing_data)) { in ReadFeaturesFromRecordFile()
Dcmd_report.cpp738 if (record_file_reader_->HasFeature(PerfFileFormat::FEAT_META_INFO)) { in ReadMetaInfoFromRecordFile()
797 record_file_reader_->ReadFeatureString(PerfFileFormat::FEAT_ARCH); in ReadFeaturesFromRecordFile()
826 if (record_file_reader_->HasFeature(PerfFileFormat::FEAT_TRACING_DATA)) { in ReadFeaturesFromRecordFile()
829 PerfFileFormat::FEAT_TRACING_DATA, &tracing_data)) { in ReadFeaturesFromRecordFile()
Dreport_lib_interface.cpp228 if (record_file_reader_->HasFeature(PerfFileFormat::FEAT_META_INFO) && in OpenRecordFileIfNecessary()
434 int feature = PerfFileFormat::GetFeatureId(feature_name); in GetFeatureSection()
Drecord_file_writer.cpp38 using namespace PerfFileFormat;
Dcmd_trace_sched.cpp191 if (reader->HasFeature(PerfFileFormat::FEAT_META_INFO)) { in ParseSchedEvents()
Dcmd_record.cpp1555 if (!record_file_writer_->WriteFeatureString(PerfFileFormat::FEAT_OSRELEASE, in DumpAdditionalFeatures()
1559 if (!record_file_writer_->WriteFeatureString(PerfFileFormat::FEAT_ARCH, in DumpAdditionalFeatures()
Dcmd_report_sample.cpp424 if (record_file_reader_->HasFeature(PerfFileFormat::FEAT_META_INFO)) { in OpenRecordFile()
Dcmd_record_test.cpp41 using namespace PerfFileFormat;