Searched refs:symfs_dir (Results 1 – 10 of 10) sorted by relevance
/system/extras/simpleperf/scripts/test/ |
D | binary_cache_builder_test.py | 33 symfs_dir = os.path.join(self.test_dir, 'symfs_dir') 34 remove(symfs_dir) 35 os.mkdir(symfs_dir) 38 source_file = os.path.join(symfs_dir, filename) 47 binary_cache_builder.copy_binaries_from_symfs_dirs([symfs_dir]) 52 binary_cache_builder.copy_binaries_from_symfs_dirs([symfs_dir]) 57 binary_cache_builder.copy_binaries_from_symfs_dirs([symfs_dir]) 63 symfs_dir = TestHelper.testdata_path('data/symfs_without_build_id') 64 source_file = os.path.join(symfs_dir, 'elf') 66 binary_cache_builder.copy_binaries_from_symfs_dirs([symfs_dir]) [all …]
|
/system/extras/simpleperf/ |
D | dso_test.cpp | 91 std::string symfs_dir = ConvertPathSeparator(GetTestDataDir() + CORRECT_SYMFS_FOR_BUILD_ID_CHECK); in TEST() local 92 ASSERT_TRUE(finder.AddSymbolDir(symfs_dir)); in TEST() 94 symfs_dir + OS_PATH_SEPARATOR + "elf_for_build_id_check"); in TEST() 100 std::string symfs_dir = ConvertPathSeparator(GetTestDataDir() + "data/symfs_with_build_id_list"); in TEST() local 101 ASSERT_TRUE(finder.SetSymFsDir(symfs_dir)); in TEST() 103 symfs_dir + OS_PATH_SEPARATOR + "elf_for_build_id_check"); in TEST() 106 symfs_dir = ConvertPathSeparator(GetTestDataDir() + "data/symfs_with_wrong_build_id_list"); in TEST() 108 ASSERT_TRUE(finder.SetSymFsDir(symfs_dir)); in TEST() 115 std::string symfs_dir = ConvertPathSeparator(GetTestDataDir() + "data/symfs_without_build_id"); in TEST() local 116 ASSERT_TRUE(finder.SetSymFsDir(symfs_dir)); in TEST() [all …]
|
D | report_lib_interface.cpp | 123 bool SetSymfs(const char* symfs_dir) { return Dso::SetSymFsDir(symfs_dir); } in SetSymfs() argument 413 bool SetSymfs(ReportLib* report_lib, const char* symfs_dir) EXPORT; 444 bool SetSymfs(ReportLib* report_lib, const char* symfs_dir) { in SetSymfs() argument 445 return report_lib->SetSymfs(symfs_dir); in SetSymfs()
|
D | dso.h | 41 bool SetSymFsDir(const std::string& symfs_dir); 118 static bool SetSymFsDir(const std::string& symfs_dir);
|
D | dso.cpp | 63 bool DebugElfFileFinder::SetSymFsDir(const std::string& symfs_dir) { in SetSymFsDir() argument 64 symfs_dir_ = RemovePathSeparatorSuffix(symfs_dir); in SetSymFsDir() 279 bool Dso::SetSymFsDir(const std::string& symfs_dir) { in SetSymFsDir() argument 280 return debug_elf_file_finder_.SetSymFsDir(symfs_dir); in SetSymFsDir()
|
/system/extras/simpleperf/scripts/ |
D | report_sample.py | 26 def report_sample(record_file, symfs_dir, kallsyms_file, show_tracing_data): argument 31 if symfs_dir is not None: 32 lib.SetSymfs(symfs_dir)
|
D | annotate.py | 153 symfs_dir = 'binary_cache' 154 if not os.path.isdir(symfs_dir): 155 symfs_dir = None 162 self.symfs_dir = symfs_dir 181 self.addr2line = Addr2Line(self.config['ndk_path'], symfs_dir, config.get('source_dirs')) 200 if self.symfs_dir: 201 lib.SetSymfs(self.symfs_dir) 252 if self.symfs_dir: 253 lib.SetSymfs(self.symfs_dir)
|
D | binary_cache_builder.py | 108 for symfs_dir in symfs_dirs: 109 for root, _, files in os.walk(symfs_dir):
|
D | simpleperf_report_lib.py | 295 def SetSymfs(self, symfs_dir: str): 297 cond: bool = self._SetSymfsFunc(self.getInstance(), _char_pt(symfs_dir))
|
/system/extras/simpleperf/scripts/inferno/ |
D | inferno.py | 100 symfs_dir = args.symfs 106 if symfs_dir: 107 lib.SetSymfs(symfs_dir)
|