Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Dthread_tree.h46 Dso* dso;
51 Dso* dso, bool in_kernel, uint32_t flags = 0)
85 unknown_dso_ = Dso::CreateDso(DSO_UNKNOWN_FILE, "unknown"); in ThreadTree()
88 kernel_dso_ = Dso::CreateDso(DSO_KERNEL, DEFAULT_KERNEL_MMAP_NAME); in ThreadTree()
105 uint64_t* pvaddr_in_file, Dso** pdso = nullptr);
107 bool IsUnknownDso(const Dso* dso) const { return dso == unknown_dso_.get(); } in IsUnknownDso()
127 std::vector<Dso*> GetAllDsos() const;
132 Dso* FindKernelDsoOrNew(const std::string& filename);
133 Dso* FindUserDsoOrNew(const std::string& filename, uint64_t start_addr = 0,
146 std::unique_ptr<Dso> kernel_dso_;
[all …]
Ddso.cpp187 const std::string s = Dso::Demangle(name_); in DemangledName()
197 bool Dso::demangle_ = true;
198 std::string Dso::vmlinux_;
199 std::string Dso::kallsyms_;
200 bool Dso::read_kernel_symbols_from_proc_;
201 std::unordered_map<std::string, BuildId> Dso::build_id_map_;
202 size_t Dso::dso_count_;
203 uint32_t Dso::g_dump_id_;
204 simpleperf_dso_impl::DebugElfFileFinder Dso::debug_elf_file_finder_;
206 void Dso::SetDemangle(bool demangle) { demangle_ = demangle; } in SetDemangle()
[all …]
Ddso_test.cpp91 std::unique_ptr<Dso> dso = Dso::CreateDso(dso_type, GetTestData("base.vdex")); in TEST()
108 dso = Dso::CreateDso(dso_type, GetTestData("base.zip!/not_exist_entry")); in TEST()
118 std::unique_ptr<Dso> dso = Dso::CreateDso(DSO_DEX_FILE, ""); in TEST()
128 std::unique_ptr<Dso> dso = Dso::CreateDso(DSO_ELF_FILE, file_path); in TEST()
146 std::unique_ptr<Dso> dso = Dso::CreateDso(DSO_ELF_FILE, GetTestData("libc.so")); in TEST()
Dthread_tree.cpp97 Dso* dso = FindKernelDsoOrNew(filename); in AddKernelMap()
101 Dso* ThreadTree::FindKernelDsoOrNew(const std::string& filename) { in FindKernelDsoOrNew()
108 module_dso_tree_[filename] = Dso::CreateDso(DSO_KERNEL_MODULE, filename); in FindKernelDsoOrNew()
117 Dso* dso = FindUserDsoOrNew(filename, start_addr); in AddThreadMap()
121 Dso* ThreadTree::FindUserDsoOrNew(const std::string& filename, uint64_t start_addr, in FindUserDsoOrNew()
126 std::unique_ptr<Dso> dso = Dso::CreateDso(dso_type, filename, force_64bit); in FindUserDsoOrNew()
216 uint64_t* pvaddr_in_file, Dso** pdso) { in FindSymbol()
219 Dso* dso = map->dso; in FindSymbol()
273 Dso* dso = nullptr; in AddDsoInfo()
287 Dso* dso = FindUserDsoOrNew(file_path, 0, DSO_DEX_FILE); in AddDexFileOffset()
[all …]
Ddso.h100 friend class Dso; member
114 class Dso {
139 static std::unique_ptr<Dso> CreateDso(DsoType dso_type, const std::string& dso_path,
142 virtual ~Dso();
198 Dso(DsoType type, const std::string& path, const std::string& debug_file_path);
Denvironment_test.cpp41 std::unique_ptr<Dso> dso = Dso::CreateDso(DSO_ELF_FILE, "[vdso]", in TEST()
Dcmd_report_sample.cpp67 Dso* dso;
266 if (!Dso::AddSymbolDir(args[i])) { in ParseOptions()
605 static bool CompareDsoByDumpId(Dso* d1, Dso* d2) { in CompareDsoByDumpId()
614 std::vector<Dso*> dsos = thread_tree_.GetAllDsos(); in PrintFileInfoInProtobuf()
616 for (Dso* dso : dsos) { in PrintFileInfoInProtobuf()
Dreport_lib_interface.cpp146 bool SetSymfs(const char* symfs_dir) { return Dso::SetSymFsDir(symfs_dir); } in SetSymfs()
216 Dso::SetKallsyms(std::move(kallsyms)); in SetKallsymsFile()
421 BuildId build_id = Dso::FindExpectedBuildIdForPath(path); in GetBuildIdForPath()
Dcmd_record.cpp888 if (!Dso::SetSymFsDir(args[i])) { in ParseOptions()
1524 Dso::ReadKernelSymbolsFromProc(); in DumpAdditionalFeatures()
1590 std::vector<Dso*> dso_v = thread_tree_.GetAllDsos(); in DumpBuildIdFeature()
1591 for (Dso* dso : dso_v) { in DumpBuildIdFeature()
1631 std::vector<Dso*> dso_v = thread_tree_.GetAllDsos(); in DumpFileFeature()
1664 Dso* dso = map->dso; in CollectHitFileInfo()
Dcmd_debug_unwind.cpp168 if (!Dso::SetSymFsDir(args[i])) { in ParseOptions()
276 Dso* dso = map->dso; in CollectHitFileInfo()
Dcmd_report.cpp560 Dso::SetKallsyms(kallsyms); in ParseOptions()
615 if (!Dso::SetSymFsDir(args[i])) { in ParseOptions()
629 Dso::SetDemangle(demangle); in ParseOptions()
631 Dso::SetVmlinux(vmlinux); in ParseOptions()
Drecord_file_writer.cpp300 bool RecordFileWriter::WriteFileFeatures(const std::vector<Dso*>& files) { in WriteFileFeatures()
301 for (Dso* dso : files) { in WriteFileFeatures()
Drecord_file.h58 bool WriteFileFeatures(const std::vector<Dso*>& files);
Dcmd_dumprecord.cpp173 Dso* dso; in DumpDataSection()
Drecord_file_reader.cpp497 Dso::SetBuildIds(build_ids); in LoadBuildIdAndFileFeatures()
Denvironment.cpp559 Dso::SetVdsoFile(tmpfile->path, sizeof(size_t) == sizeof(uint64_t)); in PrepareVdsoFile()
/system/extras/perfprofd/
Dperf_data_converter.cc61 struct Dso { in AddSymbolInfo() struct
64 explicit Dso(uint64_t min_vaddr_in) : min_vaddr(min_vaddr_in) { in AddSymbolInfo() argument
67 std::unordered_map<std::string, Dso> files; in AddSymbolInfo()
93 Dso* dso_data; in AddSymbolInfo()
103 auto it = files.emplace(dso_name, Dso(min_vaddr)); in AddSymbolInfo()
141 const Dso& dso = file_data.second; in AddSymbolInfo()
/system/extras/simpleperf/scripts/
Dutils.py411 class Dso(object): class in Addr2Nearestline
446 dso = self.dso_map[dso_path] = self.Dso()