Home
last modified time | relevance | path

Searched refs:dso_name (Results 1 – 13 of 13) sorted by relevance

/system/extras/simpleperf/scripts/
Dbinary_cache_builder.py32 def is_jit_symfile(dso_name): argument
33 return dso_name.split('/')[-1].startswith('TemporaryFile')
71 dso_name = symbol.dso_name
72 if dso_name not in binaries:
73 if is_jit_symfile(dso_name):
75 binaries[dso_name] = lib.GetBuildIdForPath(dso_name)
Dannotate.py101 def __init__(self, dso_name): argument
102 self.dso_name = dso_name
218 self.addr2line.add_addr(symbol.dso_name, symbol.symbol_addr,
220 self.addr2line.add_addr(symbol.dso_name, symbol.symbol_addr,
239 if not self.dso_filter or symbol.dso_name in self.dso_filter:
293 self._add_dso_period(symbol.dso_name, period, used_dso_dict)
295 sources = self.addr2line.get_sources(symbol.dso_name, symbol.vaddr_in_file)
303 sources = self.addr2line.get_sources(symbol.dso_name, symbol.symbol_addr)
314 def _add_dso_period(self, dso_name, period, used_dso_dict): argument
315 if dso_name not in used_dso_dict:
[all …]
Dpprof_proto_generator.py340 if not self.dso_filter or symbol.dso_name in self.dso_filter:
373 mapping_id = self.get_mapping_id(symbol.mapping[0], symbol.dso_name)
375 function_id = self.get_function_id(symbol.symbol_name, symbol.dso_name,
413 def get_function_id(self, name, dso_name, vaddr_in_file): argument
416 function = Function(self.get_string_id(name), self.get_string_id(dso_name), vaddr_in_file)
450 dso_name = self.get_string(mapping.filename_id)
453 addr2line.add_addr(dso_name, function.vaddr_in_dso, location.vaddr_in_dso)
455 dso_name = self.get_string(function.dso_name_id)
456 addr2line.add_addr(dso_name, function.vaddr_in_dso, function.vaddr_in_dso)
466 dso_name = self.get_string(mapping.filename_id)
[all …]
Dreport_sample.py52 print('%16x\t%s (%s)' % (sample.ip, symbol.symbol_name, symbol.dso_name))
55 print('%16x\t%s (%s)' % (entry.ip, entry.symbol.symbol_name, entry.symbol.dso_name))
Dsimpleperf_report_lib.py182 def dso_name(self): member in SymbolStruct
Dreport_html.py545 lib_id = self.libs.get_lib_id(symbol.dso_name)
550 lib_id = self.libs.get_lib_id(symbol.dso_name)
/system/extras/simpleperf/
Dsample_tree_test.cpp28 std::string dso_name; member
33 const std::string& dso_name, uint64_t map_start_addr, in SampleEntry()
38 dso_name(dso_name), in SampleEntry()
45 BUILD_COMPARE_STRING_FUNCTION(TestCompareDsoName, dso_name.c_str());
103 ASSERT_EQ(expected.dso_name, sample.dso_name); in SampleMatchExpectation()
Dcmd_dumprecord.cpp168 auto get_symbol_function = [&](uint32_t pid, uint32_t tid, uint64_t ip, std::string& dso_name, in DumpDataSection()
175 dso_name = dso->Path(); in DumpDataSection()
194 std::string dso_name; in DumpDataSection() local
198 dso_name, symbol_name, vaddr_in_file, in_kernel); in DumpDataSection()
199 PrintIndented(2, "%s (%s[+%" PRIx64 "])\n", symbol_name.c_str(), dso_name.c_str(), in DumpDataSection()
207 std::string dso_name; in DumpDataSection() local
210 get_symbol_function(cr.pid, cr.tid, cr.ips[i], dso_name, symbol_name, vaddr_in_file, in DumpDataSection()
212 PrintIndented(2, "%s (%s[+%" PRIx64 "])\n", symbol_name.c_str(), dso_name.c_str(), in DumpDataSection()
Drecord.cpp946 dso_name = p; in DsoRecord()
947 p += Align(strlen(dso_name) + 1, 8); in DsoRecord()
952 const std::string& dso_name, uint64_t min_vaddr) { in DsoRecord() argument
957 SetSize(header_size() + 3 * sizeof(uint64_t) + Align(dso_name.size() + 1, 8)); in DsoRecord()
964 this->dso_name = p; in DsoRecord()
965 strcpy(p, dso_name.c_str()); in DsoRecord()
974 PrintIndented(indent, "dso_name: %s\n", dso_name); in DumpData()
Drecord.h457 const char* dso_name; member
461 DsoRecord(uint64_t dso_type, uint64_t dso_id, const std::string& dso_name,
Dreport_lib_interface.cpp75 const char* dso_name; member
334 entry.symbol.dso_name = map->dso->Path().c_str(); in SetCurrentSample()
/system/extras/perfprofd/
Dperf_data_converter.cc86 auto check_address = [&](const std::string& dso_name, uint64_t offset) { in AddSymbolInfo() argument
87 if (files_wo_build_id.count(dso_name) == 0) { in AddSymbolInfo()
95 auto dso_it = files.find(dso_name); in AddSymbolInfo()
99 bool has_min_vaddr = symbolizer->GetMinExecutableVAddr(dso_name, &min_vaddr); in AddSymbolInfo()
103 auto it = files.emplace(dso_name, Dso(min_vaddr)); in AddSymbolInfo()
116 std::string symbol = symbolizer->Decode(dso_name, file_addr); in AddSymbolInfo()
/system/extras/simpleperf/scripts/inferno/
Ddata_types.py45 chain.append(CallSite(entry.symbol.symbol_name, entry.symbol.dso_name))
47 chain.append(CallSite(symbol.symbol_name, symbol.dso_name))