/system/extras/simpleperf/ |
D | thread_tree.h | 46 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 …]
|
D | dso.cpp | 187 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 …]
|
D | dso_test.cpp | 91 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()
|
D | thread_tree.cpp | 97 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 …]
|
D | dso.h | 100 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);
|
D | environment_test.cpp | 41 std::unique_ptr<Dso> dso = Dso::CreateDso(DSO_ELF_FILE, "[vdso]", in TEST()
|
D | cmd_report_sample.cpp | 67 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()
|
D | report_lib_interface.cpp | 146 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()
|
D | cmd_record.cpp | 888 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()
|
D | cmd_debug_unwind.cpp | 168 if (!Dso::SetSymFsDir(args[i])) { in ParseOptions() 276 Dso* dso = map->dso; in CollectHitFileInfo()
|
D | cmd_report.cpp | 560 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()
|
D | record_file_writer.cpp | 300 bool RecordFileWriter::WriteFileFeatures(const std::vector<Dso*>& files) { in WriteFileFeatures() 301 for (Dso* dso : files) { in WriteFileFeatures()
|
D | record_file.h | 58 bool WriteFileFeatures(const std::vector<Dso*>& files);
|
D | cmd_dumprecord.cpp | 173 Dso* dso; in DumpDataSection()
|
D | record_file_reader.cpp | 497 Dso::SetBuildIds(build_ids); in LoadBuildIdAndFileFeatures()
|
D | environment.cpp | 559 Dso::SetVdsoFile(tmpfile->path, sizeof(size_t) == sizeof(uint64_t)); in PrepareVdsoFile()
|
/system/extras/perfprofd/ |
D | perf_data_converter.cc | 61 struct Dso { in AddSymbolInfo() struct 64 explicit Dso(uint64_t min_vaddr_in) : min_vaddr(min_vaddr_in) { in AddSymbolInfo() function 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/ |
D | utils.py | 411 class Dso(object): class in Addr2Nearestline 446 dso = self.dso_map[dso_path] = self.Dso()
|