• Home
  • Raw
  • Download

Lines Matching refs:Dso

218     const std::string s = Dso::Demangle(name_);  in DemangledName()
240 bool Dso::demangle_ = true;
241 std::string Dso::vmlinux_;
242 std::string Dso::kallsyms_;
243 std::unordered_map<std::string, BuildId> Dso::build_id_map_;
244 size_t Dso::dso_count_;
245 uint32_t Dso::g_dump_id_;
246 simpleperf_dso_impl::DebugElfFileFinder Dso::debug_elf_file_finder_;
248 void Dso::SetDemangle(bool demangle) { in SetDemangle()
254 std::string Dso::Demangle(const std::string& name) { in Demangle()
279 bool Dso::SetSymFsDir(const std::string& symfs_dir) { in SetSymFsDir()
283 bool Dso::AddSymbolDir(const std::string& symbol_dir) { in AddSymbolDir()
287 void Dso::SetVmlinux(const std::string& vmlinux) { in SetVmlinux()
291 void Dso::SetBuildIds(const std::vector<std::pair<std::string, BuildId>>& build_ids) { in SetBuildIds()
300 void Dso::SetVdsoFile(const std::string& vdso_file, bool is_64bit) { in SetVdsoFile()
304 BuildId Dso::FindExpectedBuildIdForPath(const std::string& path) { in FindExpectedBuildIdForPath()
312 BuildId Dso::GetExpectedBuildId() { in GetExpectedBuildId()
316 Dso::Dso(DsoType type, const std::string& path, const std::string& debug_file_path) in Dso() function in simpleperf::Dso
333 Dso::~Dso() { in ~Dso()
346 uint32_t Dso::CreateDumpId() { in CreateDumpId()
351 uint32_t Dso::CreateSymbolDumpId(const Symbol* symbol) { in CreateSymbolDumpId()
357 std::optional<uint64_t> Dso::IpToFileOffset(uint64_t ip, uint64_t map_start, uint64_t map_pgoff) { in IpToFileOffset()
361 const Symbol* Dso::FindSymbol(uint64_t vaddr_in_dso) { in FindSymbol()
381 void Dso::SetSymbols(std::vector<Symbol>* symbols) { in SetSymbols()
386 void Dso::AddUnknownSymbol(uint64_t vaddr_in_dso, const std::string& name) { in AddUnknownSymbol()
390 bool Dso::IsForJavaMethod() const { in IsForJavaMethod()
406 void Dso::LoadSymbols() { in LoadSymbols()
449 class DexFileDso : public Dso {
452 : Dso(DSO_DEX_FILE, path, debug_file_path) {} in DexFileDso()
502 class ElfDso : public Dso {
505 : Dso(DSO_ELF_FILE, path, debug_file_path) {} in ElfDso()
607 class KernelDso : public Dso {
610 : Dso(DSO_KERNEL, path, debug_file_path) { in KernelDso()
769 class KernelModuleDso : public Dso {
772 uint64_t memory_start, uint64_t memory_end, Dso* kernel_dso) in KernelModuleDso()
773 : Dso(DSO_KERNEL_MODULE, path, debug_file_path), in KernelModuleDso()
870 Dso* kernel_dso_;
875 class SymbolMapFileDso : public Dso {
877 SymbolMapFileDso(const std::string& path) : Dso(DSO_SYMBOL_MAP_FILE, path, path) {} in SymbolMapFileDso()
885 class UnknownDso : public Dso {
887 UnknownDso(const std::string& path) : Dso(DSO_UNKNOWN_FILE, path, path) {} in UnknownDso()
895 std::unique_ptr<Dso> Dso::CreateDso(DsoType dso_type, const std::string& dso_path, in CreateDso()
901 return std::unique_ptr<Dso>(new ElfDso(dso_path, debug_path)); in CreateDso()
903 return std::unique_ptr<Dso>(new KernelDso(dso_path, debug_path)); in CreateDso()
905 return std::unique_ptr<Dso>(new DexFileDso(dso_path, dso_path)); in CreateDso()
907 return std::unique_ptr<Dso>(new SymbolMapFileDso(dso_path)); in CreateDso()
909 return std::unique_ptr<Dso>(new UnknownDso(dso_path)); in CreateDso()
916 std::unique_ptr<Dso> Dso::CreateDsoWithBuildId(DsoType dso_type, const std::string& dso_path, in CreateDsoWithBuildId()
921 return std::unique_ptr<Dso>(new ElfDso(dso_path, debug_path)); in CreateDsoWithBuildId()
923 return std::unique_ptr<Dso>(new KernelDso(dso_path, debug_path)); in CreateDsoWithBuildId()
925 return std::unique_ptr<Dso>(new KernelModuleDso(dso_path, debug_path, 0, 0, nullptr)); in CreateDsoWithBuildId()
932 std::unique_ptr<Dso> Dso::CreateKernelModuleDso(const std::string& dso_path, uint64_t memory_start, in CreateKernelModuleDso()
933 uint64_t memory_end, Dso* kernel_dso) { in CreateKernelModuleDso()
936 return std::unique_ptr<Dso>( in CreateKernelModuleDso()