Home
last modified time | relevance | path

Searched refs:dso_type (Results 1 – 13 of 13) sorted by relevance

/system/extras/simpleperf/
DBranchListFile.cpp47 static std::optional<proto::ETMBinary::BinaryType> ToProtoBinaryType(DsoType dso_type) { in ToProtoBinaryType() argument
48 switch (dso_type) { in ToProtoBinaryType()
56 LOG(ERROR) << "unexpected dso type " << dso_type; in ToProtoBinaryType()
74 auto opt_binary_type = ToProtoBinaryType(binary.dso_type); in ETMBinaryMapToString()
94 if (binary.dso_type == DSO_KERNEL) { in ETMBinaryMapToString()
337 binary.dso_type = dso->type(); in GetETMBinaryMap()
341 if (binary.dso_type == DSO_KERNEL) { in GetETMBinaryMap()
406 auto dso_type = ToDsoType(binary_proto.type()); in ParseBranchListData() local
407 if (!dso_type) { in ParseBranchListData()
411 binary.dso_type = dso_type.value(); in ParseBranchListData()
Ddso.h134 static std::unique_ptr<Dso> CreateDso(DsoType dso_type, const std::string& dso_path,
136 static std::unique_ptr<Dso> CreateDsoWithBuildId(DsoType dso_type, const std::string& dso_path,
229 const char* DsoTypeToString(DsoType dso_type);
Dthread_tree.cpp205 DsoType dso_type) { in FindUserDsoOrNew() argument
209 std::unique_ptr<Dso> dso = Dso::CreateDso(dso_type, filename, force_64bit); in FindUserDsoOrNew()
364 DsoType dso_type = file.type; in AddDsoInfo() local
366 if (dso_type == DSO_KERNEL) { in AddDsoInfo()
368 } else if (dso_type == DSO_KERNEL_MODULE) { in AddDsoInfo()
371 dso = FindUserDsoOrNew(file.path, 0, dso_type); in AddDsoInfo()
Dsimpleperf_writer_fuzzer.cpp121 DsoType dso_type = in process() local
124 Dso::CreateDso(dso_type, mFdp.ConsumeRandomLengthString(kMaxLen) /* path */, in process()
Ddso.cpp963 std::unique_ptr<Dso> Dso::CreateDso(DsoType dso_type, const std::string& dso_path, in CreateDso() argument
965 switch (dso_type) { in CreateDso()
977 LOG(ERROR) << "Unexpected dso_type " << static_cast<int>(dso_type); in CreateDso()
982 std::unique_ptr<Dso> Dso::CreateDsoWithBuildId(DsoType dso_type, const std::string& dso_path, in CreateDsoWithBuildId() argument
985 switch (dso_type) { in CreateDsoWithBuildId()
996 LOG(ERROR) << "Unexpected dso_type " << static_cast<int>(dso_type); in CreateDsoWithBuildId()
1008 const char* DsoTypeToString(DsoType dso_type) { in DsoTypeToString() argument
1009 switch (dso_type) { in DsoTypeToString()
Ddso_test.cpp162 for (DsoType dso_type : {DSO_DEX_FILE, DSO_ELF_FILE}) { in TEST()
163 std::unique_ptr<Dso> dso = Dso::CreateDso(dso_type, GetTestData("base.vdex")); in TEST()
180 dso = Dso::CreateDso(dso_type, GetTestData("base.zip!/not_exist_entry")); in TEST()
DBranchListFile.h98 DsoType dso_type; member
Dthread_tree.h143 DsoType dso_type = DSO_ELF_FILE);
Drecord.cpp1270 MoveFromBinaryFormat(dso_type, p); in Parse()
1279 DsoRecord::DsoRecord(uint64_t dso_type, uint64_t dso_id, const std::string& dso_name, in DsoRecord() argument
1282 this->dso_type = dso_type; in DsoRecord()
1289 MoveToBinaryFormat(dso_type, p); in DsoRecord()
1299 DsoTypeToString(static_cast<DsoType>(dso_type)), dso_type); in DumpData()
Dcmd_dumprecord.cpp580 PrintIndented(2, "binary_type: %s\n", DsoTypeToString(binary.dso_type)); in DumpFeatureSection()
581 if (binary.dso_type == DSO_KERNEL) { in DumpFeatureSection()
Drecord.h574 uint64_t dso_type; member
580 DsoRecord(uint64_t dso_type, uint64_t dso_id, const std::string& dso_name, uint64_t min_vaddr);
Dreport_utils_test.cpp127 void SetSymbols(const std::string& path, DsoType dso_type, const std::vector<Symbol>& symbols) { in SetSymbols() argument
130 file.type = dso_type; in SetSymbols()
Dcmd_inject.cpp347 binary.dso_type = dso->type(); in ProcessETMBinary()
349 if (binary.dso_type == DSO_KERNEL) { in ProcessETMBinary()
598 std::unique_ptr<Dso> dso = Dso::CreateDsoWithBuildId(binary.dso_type, key.path, build_id); in Convert()