Searched refs:dso (Results 1 - 25 of 32) sorted by relevance

12

/system/extras/perfprofd/
H A Dsymbolizer.h27 virtual std::string Decode(const std::string& dso, uint64_t address) = 0;
28 virtual bool GetMinExecutableVAddr(const std::string& dso, uint64_t* addr) = 0;
H A Dsymbolizer.cc41 std::string Decode(const std::string& dso, uint64_t address) override {
42 auto it = dsos.find(dso);
44 LoadDso(dso); variable
45 it = dsos.find(dso);
68 void LoadDso(const std::string& dso) { argument
76 ElfStatus status = ParseSymbolsFromElfFile(dso, BuildId(), callback);
78 LOG(WARNING) << "Could not parse dso " << dso << ": " << status;
80 dsos.emplace(dso, std::move(data));
83 bool GetMinExecutableVAddr(const std::string& dso, uint64_
[all...]
H A Dperf_data_converter.cc137 const Dso& dso = file_data.second; local
138 if (dso.symbols.empty()) {
145 symbol_info->set_min_vaddr(dso.min_vaddr);
146 for (auto& aggr_sym : dso.symbols) {
/system/extras/simpleperf/
H A Denvironment_test.cpp22 #include "dso.h"
42 std::unique_ptr<Dso> dso = Dso::CreateDso(DSO_ELF_FILE, "[vdso]", local
44 ASSERT_TRUE(dso != nullptr);
45 ASSERT_NE(dso->GetDebugFilePath(), "[vdso]");
H A Dthread_tree.cpp108 Dso* dso = FindKernelDsoOrNew(filename); local
110 AllocateMap(MapEntry(start_addr, len, pgoff, time, dso, true));
133 Dso* dso = FindUserDsoOrNew(filename, start_addr); local
135 AllocateMap(MapEntry(start_addr, len, pgoff, time, dso, false));
171 old->pgoff, old->time, old->dso, old->in_kernel));
178 old->dso, old->in_kernel));
227 Dso* dso = map->dso; local
230 vaddr_in_file = ip - map->start_addr + map->dso->MinVirtualAddress();
231 symbol = dso
284 Dso* dso = nullptr; local
[all...]
H A Dthread_tree.h26 #include "dso.h"
42 Dso* dso; member in struct:simpleperf::MapEntry
46 Dso* dso, bool in_kernel)
51 dso(dso),
106 bool IsUnknownDso(const Dso* dso) const { return dso == unknown_dso_.get(); }
114 // Clear thread and map information, but keep loaded dso information. It saves
115 // the time to reload dso information.
45 MapEntry(uint64_t start_addr, uint64_t len, uint64_t pgoff, uint64_t time, Dso* dso, bool in_kernel) argument
H A Dcmd_report_sample.cpp422 Dso* dso; member in struct:__anon1900::Node
439 &node.dso, &node.symbol);
466 if (!GetCallEntry(thread, in_kernel, ip, true, &node.vaddr_in_file, &node.dso,
478 if (!node.dso->GetDumpId(&file_id)) {
479 file_id = node.dso->CreateDumpId();
484 symbol_id = node.dso->CreateSymbolDumpId(node.symbol);
496 if (node.dso->FileName() == "libc.so" &&
520 if (omit_unknown_dso && thread_tree_.IsUnknownDso(map->dso)) {
524 // If we can't find symbol, use the dso shown in the map.
526 *pdso = map->dso;
601 Dso* dso; local
[all...]
H A Dcmd_record.cpp1287 for (Dso* dso : dso_v) {
1288 if (!dso->HasDumpId()) {
1291 if (dso->type() == DSO_KERNEL) {
1296 BuildIdRecord(true, UINT_MAX, build_id, dso->Path()));
1297 } else if (dso->type() == DSO_KERNEL_MODULE) {
1298 std::string path = dso->Path();
1309 if (dso->Path() == DEFAULT_EXECNAME_FOR_THREAD_MMAP) {
1312 auto tuple = SplitUrlInApk(dso->Path());
1317 LOG(DEBUG) << "can't read build_id from file " << dso->Path() << ": "
1322 ElfStatus result = GetBuildIdFromElfFile(dso
1369 Dso* dso = map->dso; local
[all...]
H A DSampleComparator.h57 BUILD_COMPARE_STRING_FUNCTION(CompareDso, map->dso->Path().c_str());
60 branch_from.map->dso->Path().c_str());
H A Dcmd_debug_unwind.cpp281 Dso* dso = map->dso; local
282 if (!dso->HasDumpId()) {
283 dso->CreateDumpId();
285 const Symbol* symbol = thread_tree_.FindSymbol(map, ip, nullptr, &dso);
287 dso->CreateSymbolDumpId(symbol);
H A Drecord_file_writer.cpp32 #include "dso.h"
301 for (Dso* dso : files) {
302 if (!dso->HasDumpId()) {
305 uint32_t dso_type = dso->type();
306 uint64_t min_vaddr = dso->MinVirtualAddress();
310 const std::vector<Symbol>& symbols = dso->GetSymbols();
319 if (!WriteFileFeature(dso->Path(), dso_type, min_vaddr, dump_symbols)) {
H A Dcmd_dumprecord.cpp172 Dso* dso;
173 const Symbol* symbol = thread_tree.FindSymbol(map, ip, &vaddr_in_file, &dso);
174 dso_name = dso->Path();
H A DSampleDisplayer.h84 return sample->map->dso->Path();
94 return sample->branch_from.map->dso->Path();
H A Dreport_lib_interface.cpp23 #include "dso.h"
309 current_symbol_.dso_name = map->dso->Path().c_str();
357 entry.symbol.dso_name = map->dso->Path().c_str();
H A Dsample_tree_test.cpp68 pid, tid, thread->comm, map->dso->Path(), map->start_addr)));
/system/nvram/hal/
H A Dtesting_module.c37 .dso = 0,
/system/extras/simpleperf/scripts/inferno/
H A Ddata_types.py20 def __init__(self, method, dso):
22 self.dso = dso
88 def __init__(self, method, dso, id):
89 # map from (dso, method) to FlameGraphCallSite. Used to speed up add_callchain().
93 self.dso = dso
109 key = (callsite.dso, callsite.method)
112 child = self.child_dict[key] = FlameGraphCallSite(callsite.method, callsite.dso,
H A Dsvg_renderer.py75 if color_scheme == "dso":
76 r, g, b = getDSOColor(callsite.dso)
99 callsite.dso,
/system/core/trusty/gatekeeper/
H A Dmodule.cpp54 .dso = 0,
/system/core/trusty/keymaster/
H A Dmodule.cpp58 .dso = 0,
/system/extras/perfprofd/scripts/
H A Dperf_proto_json2sqlite.py130 dso = entry[2]
131 if dso is None:
132 dso = "None"
133 dso_id = self.insert_into_tmp_or_get(dso, self.dso_map, self.dso_tmp_map)
H A Dperf_proto_stack_sqlite_flame.py87 self.dso = self._get_str(self.dso_id, dsos)
/system/extras/simpleperf/scripts/
H A Dutils.py417 addrs: a map from address to Addr object in this dso.
447 dso = self.dso_map.get(dso_path)
448 if dso is None:
449 dso = self.dso_map[dso_path] = self.Dso()
450 if addr not in dso.addrs:
451 dso.addrs[addr] = self.Addr(func_addr)
457 def _convert_addrs_in_one_dso(self, dso_path, dso):
461 log_debug("Can't find dso %s" % dso_path)
469 self._collect_line_info(dso, real_path, [0])
470 self._collect_line_info(dso, real_pat
[all...]
H A Dannotate.py70 dso = self.dso_dict.get(dso_name)
71 if dso is None:
72 self.dso_dict[dso_name] = dso = dict()
73 if addr not in dso:
74 dso[addr] = None
90 def _convert_addrs_to_lines(self, dso_name, dso):
93 log_warning("can't find dso '%s'" % dso_name)
94 dso.clear()
96 addrs = sorted(dso.keys())
136 dso[addr
[all...]
H A Dreport_html.py658 dso = addr2line.get_dso(self.libs.get_lib_name(function.lib_id))
659 start_source = addr2line.get_addr_source(dso, function.start_addr)
660 end_source = addr2line.get_addr_source(dso,
677 dso = addr2line.get_dso(self.libs.get_lib_name(lib.lib_id))
680 source = addr2line.get_addr_source(dso, addr)

Completed in 326 milliseconds

12