Home
last modified time | relevance | path

Searched refs:dso_path (Results 1 – 5 of 5) sorted by relevance

/system/extras/simpleperf/
Ddso.cpp105 std::string DebugElfFileFinder::FindDebugFile(const std::string& dso_path, bool force_64bit, in FindDebugFile() argument
107 if (dso_path == "[vdso]") { in FindDebugFile()
116 if (!build_id.IsEmpty() || GetBuildIdFromDsoPath(dso_path, &build_id)) { in FindDebugFile()
126 if (!build_id.IsEmpty() || GetBuildIdFromDsoPath(dso_path, &build_id)) { in FindDebugFile()
137 std::string path = GetPathInSymFsDir(dso_path); in FindDebugFile()
144 if (check_path("/usr/lib/debug" + dso_path)) { in FindDebugFile()
145 return "/usr/lib/debug" + dso_path; in FindDebugFile()
147 return dso_path; in FindDebugFile()
684 std::unique_ptr<Dso> Dso::CreateDso(DsoType dso_type, const std::string& dso_path, in CreateDso() argument
688 BuildId build_id = FindExpectedBuildIdForPath(dso_path); in CreateDso()
[all …]
Ddso.h41 std::string FindDebugFile(const std::string& dso_path, bool force_64bit,
139 static std::unique_ptr<Dso> CreateDso(DsoType dso_type, const std::string& dso_path,
224 bool GetBuildIdFromDsoPath(const std::string& dso_path, BuildId* build_id);
/system/extras/simpleperf/scripts/
Dutils.py443 def add_addr(self, dso_path, func_addr, addr): argument
444 dso = self.dso_map.get(dso_path)
446 dso = self.dso_map[dso_path] = self.Dso()
451 for dso_path in self.dso_map:
452 self._convert_addrs_in_one_dso(dso_path, self.dso_map[dso_path])
454 def _convert_addrs_in_one_dso(self, dso_path, dso): argument
455 real_path = find_real_dso_path(dso_path, self.binary_cache_path)
457 if dso_path not in ['//anon', 'unknown', '[kernel.kallsyms]']:
458 log_debug("Can't find dso %s" % dso_path)
578 def get_dso(self, dso_path): argument
[all …]
Dtest.py1048 for dso_path in test_map:
1049 test_addrs = test_map[dso_path]
1051 addr2line.add_addr(dso_path, test_addr['func_addr'], test_addr['addr'])
1053 for dso_path in test_map:
1054 dso = addr2line.get_dso(dso_path)
1056 test_addrs = test_map[dso_path]
1120 for dso_path in test_map:
1121 dso = test_map[dso_path]
1122 dso_info = objdump.get_dso_info(dso_path)
1155 for dso_path in test_map:
[all …]
Dannotate.py57 def add_addr(self, dso_path, func_addr, addr): argument
58 self.addr2line.add_addr(dso_path, func_addr, addr)
63 def get_sources(self, dso_path, addr): argument
64 dso = self.addr2line.get_dso(dso_path)