Home
last modified time | relevance | path

Searched refs:Dso (Results 1 – 6 of 6) sorted by relevance

/system/extras/simpleperf/
Ddso.cpp44 const std::string s = Dso::Demangle(name_); in DemangledName()
54 bool Dso::demangle_ = true;
55 std::string Dso::symfs_dir_;
56 std::string Dso::vmlinux_;
57 std::unordered_map<std::string, BuildId> Dso::build_id_map_;
58 size_t Dso::dso_count_;
60 void Dso::SetDemangle(bool demangle) { in SetDemangle()
66 std::string Dso::Demangle(const std::string& name) { in Demangle()
91 bool Dso::SetSymFsDir(const std::string& symfs_dir) { in SetSymFsDir()
109 void Dso::SetVmlinux(const std::string& vmlinux) { in SetVmlinux()
[all …]
Ddso.h52 struct Dso { struct
60 static std::unique_ptr<Dso> CreateDso(DsoType dso_type, const std::string& dso_path = "");
62 ~Dso();
80 static bool KernelSymbolCallback(const KernelSymbol& kernel_symbol, Dso* dso); argument
81 static void VmlinuxSymbolCallback(const ElfFileSymbol& elf_symbol, Dso* dso);
82 static void ElfFileSymbolCallback(const ElfFileSymbol& elf_symbol, Dso* dso,
91 Dso(DsoType type, const std::string& path); argument
Dthread_tree.h35 Dso* dso;
37 MapEntry(uint64_t start_addr, uint64_t len, uint64_t pgoff, uint64_t time, Dso* dso) in MapEntry()
62 unknown_dso_ = Dso::CreateDso(DSO_ELF_FILE, "unknown"); in ThreadTree()
83 Dso* FindKernelDsoOrNew(const std::string& filename);
84 Dso* FindUserDsoOrNew(const std::string& filename);
95 std::unique_ptr<Dso> kernel_dso_;
96 std::unordered_map<std::string, std::unique_ptr<Dso>> module_dso_tree_;
97 std::unordered_map<std::string, std::unique_ptr<Dso>> user_dso_tree_;
98 std::unique_ptr<Dso> unknown_dso_;
Dthread_tree.cpp89 Dso* dso = FindKernelDsoOrNew(filename); in AddKernelMap()
96 Dso* ThreadTree::FindKernelDsoOrNew(const std::string& filename) { in FindKernelDsoOrNew()
99 kernel_dso_ = Dso::CreateDso(DSO_KERNEL); in FindKernelDsoOrNew()
105 module_dso_tree_[filename] = Dso::CreateDso(DSO_KERNEL_MODULE, filename); in FindKernelDsoOrNew()
114 Dso* dso = FindUserDsoOrNew(filename); in AddThreadMap()
121 Dso* ThreadTree::FindUserDsoOrNew(const std::string& filename) { in FindUserDsoOrNew()
124 user_dso_tree_[filename] = Dso::CreateDso(DSO_ELF_FILE, filename); in FindUserDsoOrNew()
Dcmd_report.cpp446 Dso::SetDemangle(demangle); in ParseOptions()
447 if (!Dso::SetSymFsDir(symfs_dir)) { in ParseOptions()
451 Dso::SetVmlinux(vmlinux); in ParseOptions()
636 Dso::SetBuildIds(build_ids); in ReadFeaturesFromRecordFile()
Dcmd_record.cpp156 std::pair<std::string, uint64_t> TestForEmbeddedElf(Dso *dso, uint64_t pgoff);