Home
last modified time | relevance | path

Searched refs:dso (Results 1 – 25 of 104) sorted by relevance

12345

/aosp12/frameworks/native/opengl/libs/EGL/
H A DLoader.cpp84 dso[0] = gles; in driver_t()
86 dso[i] = nullptr; in driver_t()
92 if (dso[i]) { in ~driver_t()
187 if (cnx->dso) { in unload_system_driver()
215 if (cnx->dso) { in open()
477 return dso; in load_system_driver()
540 if (dso) { in attempt_to_load_angle()
578 if (dso) { in attempt_to_load_updated_driver()
585 if (dso) { in attempt_to_load_updated_driver()
606 if (dso) { in attempt_to_load_system_driver()
[all …]
H A DLoader.h41 void* dso[3]; member
59 void initialize_api(void* dso, egl_connection_t* cnx, uint32_t mask);
60 void init_angle_backend(void* dso, egl_connection_t* cnx);
62 static __attribute__((noinline)) void init_api(void* dso, const char* const* api,
H A Degl_platform_entries.cpp317 if (cnx->dso) { in eglGetConfigsImpl()
336 if (!cnx->dso) return EGL_FALSE; in eglChooseConfigImpl()
1111 if (cnx->dso) { in eglGetErrorImpl()
1536 if (cnx->dso && cnx->egl.eglBindAPI) { in eglBindAPIImpl()
1544 if (cnx->dso && cnx->egl.eglQueryAPI) { in eglQueryAPIImpl()
1644 if (cnx->dso && eglCreateImageFunc) { in eglCreateImageTmpl()
1691 if (cnx->dso && destroyImageFunc) { in eglDestroyImageTmpl()
1728 if (cnx->dso && eglCreateSyncFunc) { in eglCreateSyncTmpl()
1767 if (cnx->dso && eglDestroySyncFunc) { in eglDestroySyncTmpl()
1841 if (cnx->dso && eglGetSyncAttribFunc) { in eglGetSyncAttribTmpl()
[all …]
H A Degl.cpp138 cnx->dso = loader.open(cnx); in egl_init_drivers_locked()
141 if (cnx->dso) { in egl_init_drivers_locked()
148 return cnx->dso ? EGL_TRUE : EGL_FALSE; in egl_init_drivers_locked()
H A Degldefs.h40 : dso(nullptr), in egl_connection_t()
61 void* dso; member
/aosp12/system/extras/simpleperf/
H A Ddso_test.cpp152 TEST(dso, dex_file_dso) { in TEST() argument
156 ASSERT_TRUE(dso); in TEST()
173 ASSERT_TRUE(dso); in TEST()
183 ASSERT_TRUE(dso); in TEST()
190 TEST(dso, embedded_elf) { in TEST() argument
193 ASSERT_TRUE(dso); in TEST()
211 ASSERT_TRUE(dso); in TEST()
220 ASSERT_TRUE(dso); in TEST()
228 ASSERT_TRUE(dso); in TEST()
251 ASSERT_TRUE(dso); in TEST()
[all …]
H A Dreport_utils.cpp97 Dso* dso = map->dso; in Build() local
101 if (dso->IsForJavaMethod()) { in Build()
102 if (dso->type() == DSO_DEX_FILE) { in Build()
112 entry.dso = dso; in Build()
175 if (entry.dso->IsForJavaMethod() && entry.dso->type() == DSO_ELF_FILE) { in ConvertJITFrame()
180 entry.dso = it->second.dso; in ConvertJITFrame()
188 if (i + 1 < callchain.size() && callchain[i + 1].dso == entry.dso && in ConvertJITFrame()
206 for (Dso* dso : thread_tree_.GetAllDsos()) { in CollectJavaMethods()
207 if (dso->type() == DSO_DEX_FILE) { in CollectJavaMethods()
208 dso->LoadSymbols(); in CollectJavaMethods()
[all …]
H A Dthread_tree.cpp131 Dso* dso; in AddKernelMap() local
133 dso = FindKernelDsoOrNew(); in AddKernelMap()
211 dso->SetSymbols(symbols); in AddSymbolsForProcess()
214 AddThreadMapsForDsoSymbols(thread, dso); in AddSymbolsForProcess()
302 Dso* dso = map->dso; in FindSymbol() local
313 dso = FindKernelDsoOrNew(); in FindSymbol()
333 *pdso = dso; in FindSymbol()
352 Dso* dso = nullptr; in AddDsoInfo() local
354 dso = FindKernelDsoOrNew(); in AddDsoInfo()
361 dso->SetSymbols(&file.symbols); in AddDsoInfo()
[all …]
H A Dcmd_inject.cpp281 bool FilterDso(Dso* dso) { in FilterDso() argument
287 dso_filter_cache.insert({dso, match}); in FilterDso()
292 if (!FilterDso(instr_range.dso)) { in ProcessInstrRange()
306 if (!FilterDso(branch_list.dso)) { in ProcessBranchList()
352 std::unique_ptr<Dso> dso = in ProcessBranchListFile() local
354 if (!dso || !FilterDso(dso.get()) || !check_build_id(dso.get(), build_id)) { in ProcessBranchListFile()
358 Dso* dso_p = dso.get(); in ProcessBranchListFile()
434 for (auto dso : dso_v) { in GenerateInstrRange() local
505 Dso* dso = dso_p.first; in GenerateBranchList() local
534 if (dso->type() == DSO_KERNEL) { in GenerateBranchList()
[all …]
H A Dreport_utils_test.cpp121 ASSERT_EQ(entries[0].dso->Path(), fake_dex_file_path); in TEST_F()
126 ASSERT_EQ(entries[1].dso->Path(), fake_dex_file_path); in TEST_F()
141 ASSERT_EQ(entries[0].dso->Path(), fake_dex_file_path); in TEST_F()
146 ASSERT_EQ(entries[1].dso->Path(), fake_jit_cache_path); in TEST_F()
173 ASSERT_EQ(entries[2].dso->Path(), fake_dex_file_path); in TEST_F()
178 ASSERT_EQ(entries[5].dso->Path(), fake_dex_file_path); in TEST_F()
198 ASSERT_EQ(entries[0].dso->Path(), fake_dex_file_path); in TEST_F()
233 ASSERT_EQ(entries[2].dso->Path(), fake_dex_file_path); in TEST_F()
261 ASSERT_EQ(entries[1].dso->Path(), fake_dex_file_path); in TEST_F()
277 ASSERT_EQ(entries[0].dso->Path(), fake_dex_file_path); in TEST_F()
[all …]
H A Dthread_tree.h44 Dso* dso; member
48 MapEntry(uint64_t start_addr, uint64_t len, uint64_t pgoff, Dso* dso, bool in_kernel,
53 dso(dso),
64 return dso->IpToVaddrInFile(addr, start_addr, pgoff); in GetVaddrInFile()
123 bool IsUnknownDso(const Dso* dso) const { return dso == unknown_dso_.get(); } in IsUnknownDso() argument
153 void AddThreadMapsForDsoSymbols(ThreadEntry* thread, Dso* dso);
H A Dreport_utils.h42 Dso* dso = nullptr; member
65 Dso* dso; member
67 JavaMethod(Dso* dso, const Symbol* symbol) : dso(dso), symbol(symbol) {} in JavaMethod()
H A DETMDecoder.cpp259 llvm::MemoryBuffer* memory = GetMemoryBuffer(map->dso); in ReadTargetMemory()
286 llvm::MemoryBuffer* GetMemoryBuffer(Dso* dso) { in GetMemoryBuffer() argument
287 auto it = elf_map_.find(dso); in GetMemoryBuffer()
290 auto res = elf_map_.emplace(dso, ElfFile::Open(dso->GetDebugFilePath(), &status)); in GetMemoryBuffer()
444 instr_range.dso = map->dso; in ProcessElement()
477 if (data.instr_range.dso != nullptr) { in FlushData()
479 data.instr_range.dso = nullptr; in FlushData()
588 data.branch.dso = map->dso; in ProcessAtomPacket()
796 if (dso->type() == DSO_KERNEL_MODULE) { in Init()
870 instr_range.dso = dso; in ConvertBranchMapToInstrRanges()
[all …]
H A Dcmd_record.cpp1848 for (Dso* dso : dso_v) { in DumpBuildIdFeature()
1854 if (dso->type() == DSO_KERNEL) { in DumpBuildIdFeature()
1874 if (dso->Path() == DEFAULT_EXECNAME_FOR_THREAD_MMAP || dso->IsForJavaMethod()) { in DumpBuildIdFeature()
1894 for (Dso* dso : dso_v) { in DumpFileFeature()
1896 dso->CreateDumpId(); in DumpFileFeature()
1942 for (const Dso* dso : dso_set) { in DumpDebugUnwindFeature() local
1943 if (dso->type() != DSO_ELF_FILE) { in DumpDebugUnwindFeature()
1971 Dso* dso = map->dso; in CollectHitFileInfo() local
1978 if (!dso->HasDumpId() && dso->type() != DSO_UNKNOWN_FILE) { in CollectHitFileInfo()
1979 dso->CreateDumpId(); in CollectHitFileInfo()
[all …]
H A DETMDecoder.h40 Dso* dso = nullptr; member
57 Dso* dso = nullptr; member
87 Dso* dso, const BranchMap& branch_map, const ETMDecoder::InstrRangeCallbackFn& callback);
H A Drecord_file_writer.cpp327 for (Dso* dso : dsos) { in WriteFileFeatures()
329 if (!dso->HasDumpId() && dso->type() != DSO_DEX_FILE) { in WriteFileFeatures()
333 file.path = dso->Path(); in WriteFileFeatures()
334 file.type = dso->type(); in WriteFileFeatures()
335 dso->GetMinExecutableVaddr(&file.min_vaddr, &file.file_offset_of_min_vaddr); in WriteFileFeatures()
339 const std::vector<Symbol>& symbols = dso->GetSymbols(); in WriteFileFeatures()
347 if (const auto dex_file_offsets = dso->DexFileOffsets(); dex_file_offsets != nullptr) { in WriteFileFeatures()
H A Dcmd_report_sample.cpp566 if (thread_tree_.IsUnknownDso(entries[i].dso)) { in ProcessSampleRecord()
592 if (!node.dso->GetDumpId(&file_id)) { in PrintSampleRecordInProtobuf()
593 file_id = node.dso->CreateDumpId(); in PrintSampleRecordInProtobuf()
598 symbol_id = node.dso->CreateSymbolDumpId(node.symbol); in PrintSampleRecordInProtobuf()
613 if (node.dso->FileName() == "libc.so" && (strcmp(node.symbol->Name(), "__libc_init") == 0 || in PrintSampleRecordInProtobuf()
708 for (Dso* dso : dsos) { in PrintFileInfoInProtobuf()
710 if (!dso->GetDumpId(&file_id)) { in PrintFileInfoInProtobuf()
716 file->set_path(std::string{dso->GetReportPath()}); in PrintFileInfoInProtobuf()
717 const std::vector<Symbol>& symbols = dso->GetSymbols(); in PrintFileInfoInProtobuf()
765 FprintIndented(report_fp_, 1, "file: %s\n", entries[0].dso->GetReportPath().data()); in PrintSampleRecord()
[all …]
H A Denvironment_test.cpp43 std::unique_ptr<Dso> dso = in TEST() local
45 ASSERT_TRUE(dso != nullptr); in TEST()
46 ASSERT_NE(dso->GetDebugFilePath(), "[vdso]"); in TEST()
H A Dthread_tree_test.cpp53 names[i] = pair.second->dso->Path(); in CheckMaps()
62 ASSERT_TRUE(thread_tree_.IsUnknownDso(entry->dso)); in CheckMaps()
64 ASSERT_EQ(entry->dso->Path(), expected_names_[i]); in CheckMaps()
/aosp12/bionic/libc/bionic/
H A Datexit.cpp46 extern "C" void __unregister_atfork(void* dso);
53 void* dso; // shared module handle member
230 int __cxa_atexit(void (*func)(void*), void* arg, void* dso) { in __cxa_atexit() argument
235 if (g_array.append_entry({.fn = func, .arg = arg, .dso = dso})) { in __cxa_atexit()
244 void __cxa_finalize(void* dso) { in __cxa_finalize() argument
254 if (g_array[i].fn == nullptr || (dso != nullptr && g_array[i].dso != dso)) continue; in __cxa_finalize()
271 if (call_depth == 0 && dso != nullptr) { in __cxa_finalize()
277 if (dso != nullptr) { in __cxa_finalize()
278 __unregister_atfork(dso); in __cxa_finalize()
H A Dpthread_atfork.cpp156 void(*child)(void), void* dso) { in __register_atfork() argument
165 entry->dso_handle = dso; in __register_atfork()
176 extern "C" __LIBC_HIDDEN__ void __unregister_atfork(void* dso) { in __unregister_atfork() argument
179 return entry->dso_handle == dso; in __unregister_atfork()
/aosp12/system/extras/simpleperf/scripts/inferno/
H A Ddata_types.py20 def __init__(self, method, dso): argument
22 self.dso = dso
88 def __init__(self, method, dso, callsite_id): argument
93 self.dso = dso
109 key = (callsite.dso, callsite.method)
112 child = self.child_dict[key] = FlameGraphCallSite(callsite.method, callsite.dso,
/aosp12/system/extras/simpleperf/scripts/test/
H A Dtools_test.py106 dso = addr2line.get_dso(dso_path)
107 self.assertIsNotNone(dso, dso_path)
126 actual_source = addr2line.get_addr_source(dso, test_addr['addr'])
181 dso = test_map[dso_path]
184 disassemble_code = objdump.disassemble_code(dso_info, dso['start_addr'], dso['len'])
187 for expected_line, expected_addr in dso['expected_items']:
/aosp12/system/extras/simpleperf/scripts/
H A Dsimpleperf_utils.py569 dso = self.dso_map.get(dso_path)
570 if dso is None:
572 if addr not in dso.addrs:
573 dso.addrs[addr] = self.Addr(func_addr)
576 for dso_path, dso in self.dso_map.items():
593 self._collect_line_info(dso, real_path,
612 for addr in dso.addrs:
613 addr_obj = dso.addrs[addr]
668 for addr in dso.addrs:
669 addr_obj = dso.addrs[addr]
[all …]
H A Ddebug_unwind_reporter.py47 self.dso = ''
70 self._get_callchain_node(callchain_id).dso = value
90 if node.dso.endswith('libc.so') and (node.symbol in ('__libc_init', '__start_thread')):
108 return sample.callchain[-1].dso in self.end_dso
203 symbol_key = (sample.callchain[-1].dso, sample.callchain[-1].symbol)
226 dso, symbol = symbol_key
227 table.add_row([count, error_code, dso, symbol])

12345