/system/extras/simpleperf/scripts/ |
D | binary_cache_builder.py | 32 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)
|
D | annotate.py | 101 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 …]
|
D | pprof_proto_generator.py | 340 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 …]
|
D | report_sample.py | 52 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))
|
D | simpleperf_report_lib.py | 182 def dso_name(self): member in SymbolStruct
|
D | report_html.py | 545 lib_id = self.libs.get_lib_id(symbol.dso_name) 550 lib_id = self.libs.get_lib_id(symbol.dso_name)
|
/system/extras/simpleperf/ |
D | sample_tree_test.cpp | 28 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()
|
D | cmd_dumprecord.cpp | 168 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()
|
D | record.cpp | 946 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()
|
D | record.h | 457 const char* dso_name; member 461 DsoRecord(uint64_t dso_type, uint64_t dso_id, const std::string& dso_name,
|
D | report_lib_interface.cpp | 75 const char* dso_name; member 334 entry.symbol.dso_name = map->dso->Path().c_str(); in SetCurrentSample()
|
/system/extras/perfprofd/ |
D | perf_data_converter.cc | 86 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/ |
D | data_types.py | 45 chain.append(CallSite(entry.symbol.symbol_name, entry.symbol.dso_name)) 47 chain.append(CallSite(symbol.symbol_name, symbol.dso_name))
|