Lines Matching refs:dso
131 Dso* dso; in AddKernelMap() local
133 dso = FindKernelDsoOrNew(); in AddKernelMap()
135 dso = FindKernelModuleDsoOrNew(filename, start_addr, start_addr + len); in AddKernelMap()
137 InsertMap(kernel_maps_, MapEntry(start_addr, len, pgoff, dso, true)); in AddKernelMap()
161 Dso* dso = FindUserDsoOrNew(filename, start_addr); in AddThreadMap() local
162 InsertMap(*thread->maps, MapEntry(start_addr, len, pgoff, dso, false, flags)); in AddThreadMap()
165 void ThreadTree::AddThreadMapsForDsoSymbols(ThreadEntry* thread, Dso* dso) { in AddThreadMapsForDsoSymbols() argument
174 for (const auto& sym : dso->GetSymbols()) { in AddThreadMapsForDsoSymbols()
180 InsertMap(*maps, MapEntry(map_start, map_end - map_start, map_start, dso, false, 0)); in AddThreadMapsForDsoSymbols()
190 InsertMap(*maps, MapEntry(map_start, map_end - map_start, map_start, dso, false, 0)); in AddThreadMapsForDsoSymbols()
199 std::unique_ptr<Dso> dso = Dso::CreateDso(dso_type, filename, force_64bit); in FindUserDsoOrNew() local
200 auto pair = user_dso_tree_.insert(std::make_pair(filename, std::move(dso))); in FindUserDsoOrNew()
210 auto dso = FindUserDsoOrNew(name, 0, DSO_SYMBOL_MAP_FILE); in AddSymbolsForProcess() local
211 dso->SetSymbols(symbols); in AddSymbolsForProcess()
214 AddThreadMapsForDsoSymbols(thread, dso); in AddSymbolsForProcess()
302 Dso* dso = map->dso; in FindSymbol() local
306 vaddr_in_file = dso->IpToVaddrInFile(ip, map->start_addr, map->pgoff); in FindSymbol()
308 symbol = dso->FindSymbol(vaddr_in_file); in FindSymbol()
309 if (symbol == nullptr && dso->type() == DSO_KERNEL_MODULE) { in FindSymbol()
313 dso = FindKernelDsoOrNew(); in FindSymbol()
314 symbol = dso->FindSymbol(vaddr_in_file); in FindSymbol()
321 dso->FileName().c_str(), vaddr_in_file); in FindSymbol()
322 dso->AddUnknownSymbol(vaddr_in_file, name); in FindSymbol()
323 symbol = dso->FindSymbol(vaddr_in_file); in FindSymbol()
333 *pdso = dso; in FindSymbol()
352 Dso* dso = nullptr; in AddDsoInfo() local
354 dso = FindKernelDsoOrNew(); in AddDsoInfo()
356 dso = FindKernelModuleDsoOrNew(file.path, 0, 0); in AddDsoInfo()
358 dso = FindUserDsoOrNew(file.path, 0, dso_type); in AddDsoInfo()
360 dso->SetMinExecutableVaddr(file.min_vaddr, file.file_offset_of_min_vaddr); in AddDsoInfo()
361 dso->SetSymbols(&file.symbols); in AddDsoInfo()
363 dso->AddDexFileOffset(offset); in AddDsoInfo()
368 Dso* dso = FindUserDsoOrNew(file_path, 0, DSO_DEX_FILE); in AddDexFileOffset() local
369 dso->AddDexFileOffset(dex_file_offset); in AddDexFileOffset()