Home
last modified time | relevance | path

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

/system/extras/perfprofd/
Dperf_data_converter.cc24 int rc = do1->dso_name().compare(do2->dso_name()); in operator ()()
82 string dso_name = event.dso_and_offset.dso_name(); in RawPerfDataToAndroidPerfProfile() local
85 if (dso_name.substr(0, kernel_name.length()) == kernel_name) { in RawPerfDataToAndroidPerfProfile()
86 dso_name = kernel_name; in RawPerfDataToAndroidPerfProfile()
103 name_profile_map[program_name][dso_name].callchain_count_map[cc]++; in RawPerfDataToAndroidPerfProfile()
107 name_profile_map[program_name][dso_name].address_count_map[ in RawPerfDataToAndroidPerfProfile()
110 name_profile_map[program_name][dso_name].address_count_map[ in RawPerfDataToAndroidPerfProfile()
114 if (dso_name == event.branch_stack[i - 1].to.dso_name()) { in RawPerfDataToAndroidPerfProfile()
123 name_profile_map[program_name][dso_name].range_count_map[ in RawPerfDataToAndroidPerfProfile()
180 int32 module_id = name_id_map[d_o.dso_name()]; in RawPerfDataToAndroidPerfProfile()
/system/extras/simpleperf/scripts/
Dannotate.py64 def add_addr(self, dso_name, addr): argument
65 dso = self.dso_dict.get(dso_name)
67 self.dso_dict[dso_name] = dso = dict()
80 for dso_name in self.dso_dict.keys():
81 self._convert_addrs_to_lines(dso_name, self.dso_dict[dso_name])
85 def _convert_addrs_to_lines(self, dso_name, dso): argument
86 dso_path = self._find_dso_path(dso_name)
88 log_warning("can't find dso '%s'" % dso_name)
176 def get_sources(self, dso_name, addr): argument
177 dso = self.dso_dict.get(dso_name)
[all …]
Dpprof_proto_generator.py347 if not self.dso_filter or symbol.dso_name in self.dso_filter:
380 mapping_id = self.get_mapping_id(symbol.mapping[0], symbol.dso_name)
384 line.function_id = self.get_function_id(symbol.symbol_name, symbol.dso_name,
417 def get_function_id(self, name, dso_name, vaddr_in_file): argument
420 function = Function(self.get_string_id(name), self.get_string_id(dso_name), vaddr_in_file)
448 dso_name = self.get_string(mapping.filename_id)
449 addr2line.add_addr(dso_name, location.vaddr_in_dso)
451 dso_name = self.get_string(function.dso_name_id)
452 addr2line.add_addr(dso_name, function.vaddr_in_dso)
460 dso_name = self.get_string(mapping.filename_id)
[all …]
Dbinary_cache_builder.py84 dso_name = symbol.dso_name
85 if not binaries.has_key(dso_name):
86 binaries[dso_name] = lib.GetBuildIdForPath(dso_name)
Dreport_sample.py53 print('%16x\t%s (%s)' % (sample.ip, symbol.symbol_name, symbol.dso_name))
56 print('%16x\t%s (%s)' % (entry.ip, entry.symbol.symbol_name, entry.symbol.dso_name))
Dsimpleperf_report_lib.py112 self.dso_name = _char_pt_to_str(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()
Dreport_lib_interface.cpp57 const char* dso_name; member
259 current_symbol_.dso_name = map->dso->Path().c_str(); in GetSymbolOfCurrentSample()
306 entry.symbol.dso_name = map->dso->Path().c_str(); in GetCallChainOfCurrentSample()
Drecord.cpp747 dso_name = p; in DsoRecord()
748 p += Align(strlen(dso_name) + 1, 8); in DsoRecord()
753 const std::string& dso_name, uint64_t min_vaddr) { in DsoRecord() argument
758 SetSize(header_size() + 3 * sizeof(uint64_t) + Align(dso_name.size() + 1, 8)); in DsoRecord()
765 this->dso_name = p; in DsoRecord()
766 strcpy(p, dso_name.c_str()); in DsoRecord()
775 PrintIndented(indent, "dso_name: %s\n", dso_name); in DumpData()
Drecord.h440 const char* dso_name; member
444 DsoRecord(uint64_t dso_type, uint64_t dso_id, const std::string& dso_name,
/system/extras/perfprofd/quipper/
Dperf_parser.h70 const string dso_name() const { in dso_name() function