Lines Matching refs:dso
984 std::unique_ptr<Dso> dso; in CreateDsoWithBuildId() local
987 dso.reset(new ElfDso(dso_path, false)); in CreateDsoWithBuildId()
990 dso.reset(new KernelDso(dso_path)); in CreateDsoWithBuildId()
993 dso.reset(new KernelModuleDso(dso_path, 0, 0, nullptr)); in CreateDsoWithBuildId()
999 dso->debug_file_path_ = debug_elf_file_finder_.FindDebugFile(dso_path, false, build_id); in CreateDsoWithBuildId()
1000 return dso; in CreateDsoWithBuildId()
1034 bool GetBuildId(const Dso& dso, BuildId& build_id) { in GetBuildId() argument
1035 if (dso.type() == DSO_KERNEL) { in GetBuildId()
1039 } else if (dso.type() == DSO_KERNEL_MODULE) { in GetBuildId()
1041 if (android::base::EndsWith(dso.Path(), ".ko")) { in GetBuildId()
1042 return GetBuildIdFromDsoPath(dso.Path(), &build_id); in GetBuildId()
1044 if (const std::string& path = dso.Path(); in GetBuildId()
1049 } else if (dso.type() == DSO_ELF_FILE) { in GetBuildId()
1050 if (dso.Path() == DEFAULT_EXECNAME_FOR_THREAD_MMAP || dso.IsForJavaMethod()) { in GetBuildId()
1053 if (GetBuildIdFromDsoPath(dso.Path(), &build_id)) { in GetBuildId()