/developtools/profiler/device/plugins/native_daemon/test/unittest/common/native/ |
D | symbols_file_test.cpp | 68 void CheckSymbols(const std::unique_ptr<SymbolsFile> &symbolsFile) const; 72 std::unique_ptr<SymbolsFile> LoadSymbols(SymbolsFileType symbolsFileType) in LoadSymbols() 74 std::unique_ptr<SymbolsFile> symbolsFile = SymbolsFile::CreateSymbolsFile(symbolsFileType); in LoadSymbols() 81 std::unique_ptr<SymbolsFile> symbolsFile = SymbolsFile::CreateSymbolsFile(symbolsFileType); in TestLoadSymbols() 109 void SymbolsFileTest::CheckSymbols(const std::unique_ptr<SymbolsFile> &symbolsFile) const in CheckSymbols() 159 auto symbolsFile = SymbolsFile::CreateSymbolsFile(SYMBOL_UNKNOW_FILE); 175 auto symbolsFile = SymbolsFile::CreateSymbolsFile(SYMBOL_UNKNOW_FILE); 201 auto symbolsFile = SymbolsFile::CreateSymbolsFile(SYMBOL_UNKNOW_FILE); 227 auto symbolsFile = SymbolsFile::CreateSymbolsFile(SYMBOL_UNKNOW_FILE); 254 std::unique_ptr<SymbolsFile> symbolsFile = SymbolsFile::CreateSymbolsFile(symbolsFileType); in TestLoadSymbols() [all …]
|
D | virtual_thread_test.cpp | 141 std::unordered_map<std::string, std::unique_ptr<SymbolsFile>> files; 157 std::unordered_map<std::string, std::unique_ptr<SymbolsFile>> files; 194 std::unordered_map<std::string, std::unique_ptr<SymbolsFile>> files; 229 std::unordered_map<std::string, std::unique_ptr<SymbolsFile>> files; 270 std::unordered_map<std::string, std::unique_ptr<SymbolsFile>> files; 313 std::unordered_map<std::string, std::unique_ptr<SymbolsFile>> files; 314 files["1.elf"] = std::make_unique<SymbolsFile>(SYMBOL_UNKNOW_FILE, "1.elf"); 315 files["2.elf"] = std::make_unique<SymbolsFile>(SYMBOL_UNKNOW_FILE, "2.elf"); 316 files["3.elf"] = std::make_unique<SymbolsFile>(SYMBOL_UNKNOW_FILE, "3.elf"); 350 std::unordered_map<std::string, std::unique_ptr<SymbolsFile>> symbolsFiles; [all …]
|
D | callstack_test.cpp | 62 std::unordered_map<std::string, std::unique_ptr<SymbolsFile>> symbolsFiles; 64 symbolsFiles[symbolFilePath] = SymbolsFile::CreateSymbolsFile(SYMBOL_ELF_FILE, symbolFilePath);
|
D | virtual_runtime_test.cpp | 124 auto kernel = SymbolsFile::CreateSymbolsFile(SYMBOL_KERNEL_FILE); in PrepareKernelSymbol() 141 auto user = SymbolsFile::CreateSymbolsFile(SYMBOL_ELF_FILE); in PrepareUserSymbol()
|
/developtools/hiperf/test/unittest/common/native/ |
D | symbols_file_test.cpp | 37 void CheckSymbols(const std::unique_ptr<SymbolsFile> &symbolsFile) const; 41 std::unique_ptr<SymbolsFile> LoadSymbols(SymbolsFileType symbolsFileType) in LoadSymbols() 43 std::unique_ptr<SymbolsFile> symbolsFile = SymbolsFile::CreateSymbolsFile(symbolsFileType); in LoadSymbols() 50 std::unique_ptr<SymbolsFile> symbolsFile = SymbolsFile::CreateSymbolsFile(symbolsFileType); in TestLoadSymbols() 78 void SymbolsFileTest::CheckSymbols(const std::unique_ptr<SymbolsFile> &symbolsFile) const in CheckSymbols() 128 auto symbolsFile = SymbolsFile::CreateSymbolsFile(SYMBOL_UNKNOW_FILE); 144 auto symbolsFile = SymbolsFile::CreateSymbolsFile(SYMBOL_UNKNOW_FILE); 170 auto symbolsFile = SymbolsFile::CreateSymbolsFile(SYMBOL_UNKNOW_FILE); 196 auto symbolsFile = SymbolsFile::CreateSymbolsFile(SYMBOL_UNKNOW_FILE); 223 std::unique_ptr<SymbolsFile> symbolsFile = SymbolsFile::CreateSymbolsFile(symbolsFileType); in TestLoadSymbols() [all …]
|
D | virtual_thread_test.cpp | 156 std::vector<std::unique_ptr<SymbolsFile>> files; 176 std::vector<std::unique_ptr<SymbolsFile>> files; 209 std::vector<std::unique_ptr<SymbolsFile>> files; 240 std::vector<std::unique_ptr<SymbolsFile>> files; 279 std::vector<std::unique_ptr<SymbolsFile>> files; 320 std::vector<std::unique_ptr<SymbolsFile>> files; 323 files.emplace_back(SymbolsFile::LoadSymbolsFromSaved(symbolFileStruct)); 325 files.emplace_back(SymbolsFile::LoadSymbolsFromSaved(symbolFileStruct)); 327 files.emplace_back(SymbolsFile::LoadSymbolsFromSaved(symbolFileStruct)); 360 std::vector<std::unique_ptr<SymbolsFile>> symbolsFiles; [all …]
|
D | report_protobuf_file_test.cpp | 38 std::vector<std::unique_ptr<SymbolsFile>> symbolsFiles_; 46 std::unique_ptr<SymbolsFile> user = SymbolsFile::CreateSymbolsFile(SYMBOL_ELF_FILE); in PrepareSymbolsFile() 53 std::unique_ptr<SymbolsFile> user2 = SymbolsFile::CreateSymbolsFile(SYMBOL_ELF_FILE); in PrepareSymbolsFile() 232 const std::unique_ptr<SymbolsFile> &symbolFile = symbolsFiles_.at(message.id()); in __anondb9e9e190302() 336 const std::unique_ptr<SymbolsFile> &symbolsFile = in __anondb9e9e190502()
|
D | virtual_runtime_test.cpp | 151 for (const std::unique_ptr<SymbolsFile> &symbolsFile : runtime_->GetSymbolsFiles()) { 247 auto kernel = SymbolsFile::CreateSymbolsFile(SYMBOL_KERNEL_FILE); in PrepareKernelSymbol() 264 auto user = SymbolsFile::CreateSymbolsFile(SYMBOL_ELF_FILE); in PrepareUserSymbol() 357 SymbolsFile::CreateSymbolsFile(SYMBOL_ELF_FILE, TEST_DWARF_ELF));
|
D | report_json_file_test.cpp | 579 std::vector<std::unique_ptr<SymbolsFile>> symbolsFiles; 582 std::unique_ptr<SymbolsFile> user = SymbolsFile::CreateSymbolsFile(SYMBOL_ELF_FILE); 589 std::unique_ptr<SymbolsFile> user2 = SymbolsFile::CreateSymbolsFile(SYMBOL_ELF_FILE);
|
/developtools/profiler/device/plugins/native_daemon/src/ |
D | symbols_file.cpp | 48 bool SymbolsFile::onRecording_ = true; 49 const std::string SymbolsFile::GetBuildId() const in GetBuildId() 54 bool SymbolsFile::UpdateBuildIdIfMatch(std::string buildId) in UpdateBuildIdIfMatch() 91 std::string SymbolsFile::SearchReadableFile(const std::vector<std::string> &searchPaths, in SearchReadableFile() 108 const std::string SymbolsFile::FindSymbolFile( in FindSymbolFile() 161 class ElfFileSymbols : public SymbolsFile { 165 : SymbolsFile(symbolsFileType, symbolFilePath) in ElfFileSymbols() 862 class UnknowFileSymbols : public SymbolsFile { 865 : SymbolsFile(SYMBOL_UNKNOW_FILE, symbolFilePath) in UnknowFileSymbols() 876 SymbolsFile::~SymbolsFile() {} in ~SymbolsFile() [all …]
|
D | virtual_thread.cpp | 91 … const std::unordered_map<std::string, std::unique_ptr<SymbolsFile>>& symbolsFiles, in VirtualThread() 133 SymbolsFile *VirtualThread::FindSymbolsFileByMap(std::shared_ptr<DfxMap> inMap) const in FindSymbolsFileByMap() 155 SymbolsFile *VirtualThread::FindSymbolsFileByName(const std::string &name) const in FindSymbolsFileByName() 197 SymbolsFile *symbolsFile = FindSymbolsFileByMap((curMemMaps->GetMaps())[itemIndex]); in ReadRoMemory()
|
D | call_stack.cpp | 92 bool CallStack::fillUDI(unw_dyn_info_t &di, SymbolsFile &symbolsFile, std::shared_ptr<DfxMap> map, in fillUDI() 168 int CallStack::FindUnwindTable(SymbolsFile *symbolsFile, std::shared_ptr<DfxMap> map, in FindUnwindTable() 247 SymbolsFile *symbolsFile = unwindInfoPtr->thread.FindSymbolsFileByMap(*map); in FindProcInfo() 553 int CallStack::FillUnwindTable(SymbolsFile *symbolsFile, std::shared_ptr<DfxMap> map, UnwindInfo *u… in FillUnwindTable() 595 SymbolsFile *symbolsFile = unwindInfoPtr->thread.FindSymbolsFileByMap(map); in FindUnwindTable()
|
/developtools/hiperf/src/ |
D | symbols_file.cpp | 50 bool SymbolsFile::onRecording_ = true; 51 bool SymbolsFile::needParseJsFunc_ = false; 53 const std::string SymbolsFile::GetBuildId() const in GetBuildId() 58 bool SymbolsFile::UpdateBuildIdIfMatch(std::string buildId) in UpdateBuildIdIfMatch() 95 std::string SymbolsFile::SearchReadableFile(const std::vector<std::string> &searchPaths, in SearchReadableFile() 115 const std::string SymbolsFile::FindSymbolFile( in FindSymbolFile() 162 class ElfFileSymbols : public SymbolsFile { 166 : SymbolsFile(symbolsFileType, symbolFilePath) in ElfFileSymbols() 1058 class UnknowFileSymbols : public SymbolsFile { 1061 : SymbolsFile(SYMBOL_UNKNOW_FILE, symbolFilePath) in UnknowFileSymbols() [all …]
|
D | virtual_runtime.cpp | 192 auto symbolsFile = SymbolsFile::CreateSymbolsFile(map->name); in UpdateHapSymbols() 308 auto kernelModuleFile = SymbolsFile::CreateSymbolsFile(SYMBOL_KERNEL_MODULE_FILE, map.name); in UpdateKernelModulesSymbols() 321 auto kernelFile = SymbolsFile::CreateSymbolsFile(KERNEL_MMAP_NAME); in UpdateKernelSymbols() 683 auto symFile = SymbolsFile::CreateSymbolsFile(SYMBOL_ELF_FILE, recordMmap2.data_.filename); in CheckValidSandBoxMmap() 837 auto symbolsFile = SymbolsFile::CreateSymbolsFile(map->name, pid); in UpdateSymbols() 966 SymbolsFile *symbolsFile = thread.FindSymbolsFileByMap(map); in GetUserSymbol() 1089 std::unique_ptr<SymbolsFile> symbolsFile = SymbolsFile::CreateSymbolsFile(SYMBOL_UNKNOW_FILE); in SetSymbolsPaths() 1117 … std::unique_ptr<SymbolsFile> symbolsFile = SymbolsFile::LoadSymbolsFromSaved(symbolFileStruct); in UpdateFromPerfData() 1189 auto symbolsFile = SymbolsFile::CreateSymbolsFile(MMAP_VDSO_NAME); in LoadVdso() 1219 auto symbolsFile = SymbolsFile::CreateSymbolsFile(SYMBOL_KERNEL_THREAD_FILE, fileName); in UpdateServiceSymbols() [all …]
|
/developtools/profiler/device/plugins/native_daemon/include/ |
D | symbols_file.h | 76 class SymbolsFile { 91 SymbolsFile(SymbolsFileType symbolType, const std::string path) in SymbolsFile() function 93 virtual ~SymbolsFile(); 101 static std::unique_ptr<SymbolsFile> CreateSymbolsFile( 103 …static std::unique_ptr<SymbolsFile> CreateSymbolsFile(const std::string &symbolFilePath, pid_t pid… 164 static std::unique_ptr<SymbolsFile> LoadSymbolsFromSaved(const SymbolFileStruct &); 221 …bool operator() (const std::unique_ptr<SymbolsFile>& left, const std::unique_ptr<SymbolsFile>& rig… in operator()
|
D | virtual_thread.h | 78 const std::unordered_map<std::string, std::unique_ptr<SymbolsFile>>& symbolsFiles, 100 SymbolsFile *FindSymbolsFileByMap(std::shared_ptr<DfxMap> inMap) const; 101 SymbolsFile *FindSymbolsFileByName(const std::string &name) const; 113 const std::unordered_map<std::string, std::unique_ptr<SymbolsFile>>& symbolsFiles_;
|
D | call_stack.h | 72 … static bool fillUDI(unw_dyn_info_t &di, SymbolsFile &symbolsFile, std::shared_ptr<DfxMap> mapmmap, 87 static int FindUnwindTable(SymbolsFile *symbolsFile, std::shared_ptr<DfxMap> mapmap, 115 …static int FillUnwindTable(SymbolsFile *symbolsFile, std::shared_ptr<DfxMap> map, UnwindInfo *unwi…
|
D | virtual_runtime.h | 62 const std::unordered_map<std::string, std::unique_ptr<SymbolsFile>> &GetSymbolsFiles() const in GetSymbolsFiles() 181 std::unordered_map<std::string, std::unique_ptr<SymbolsFile>> symbolsFiles_;
|
/developtools/hiperf/include/ |
D | virtual_thread.h | 46 VirtualThread(pid_t pid, const std::vector<std::unique_ptr<SymbolsFile>> &symbolsFiles) in VirtualThread() 57 const std::vector<std::unique_ptr<SymbolsFile>> &symbolsFiles) in VirtualThread() 89 SymbolsFile *FindSymbolsFileByMap(std::shared_ptr<DfxMap> map) const; 100 const std::vector<std::unique_ptr<SymbolsFile>> &symbolsFiles_;
|
D | symbols_file.h | 86 class SymbolsFile { 102 SymbolsFile(SymbolsFileType symbolType, const std::string path) in SymbolsFile() function 104 virtual ~SymbolsFile(); 112 static std::unique_ptr<SymbolsFile> CreateSymbolsFile( 114 …static std::unique_ptr<SymbolsFile> CreateSymbolsFile(const std::string &symbolFilePath, pid_t pid… 186 static std::unique_ptr<SymbolsFile> LoadSymbolsFromSaved(const SymbolFileStruct &);
|
D | report_protobuf_file.h | 46 const std::vector<std::unique_ptr<SymbolsFile>> &symbolsFiles); 47 bool ProcessSymbolsFiles(const std::vector<std::unique_ptr<SymbolsFile>> &symbolsFiles);
|
D | callstack.h | 87 static bool fillUDI(unw_dyn_info_t &di, SymbolsFile &symbolsFile, std::shared_ptr<DfxMap> map, 102 static int FindUnwindTable(SymbolsFile *symbolsFile, std::shared_ptr<DfxMap> map, 130 …static int FillUnwindTable(SymbolsFile *symbolsFile, std::shared_ptr<DfxMap> map, UnwindInfo *unwi…
|
D | perf_file_writer.h | 55 bool AddSymbolsFeature(const std::vector<std::unique_ptr<SymbolsFile>> &);
|
/developtools/smartperf_host/trace_streamer/src/parser/pbreader_parser/native_hook_parser/ |
D | pbreader_native_hook_parser.h | 39 … bool NativeHookReloadElfSymbolTable(const std::vector<std::unique_ptr<SymbolsFile>> &symbolsFile) in NativeHookReloadElfSymbolTable()
|
/developtools/smartperf_host/trace_streamer/src/parser/ebpf_parser/ |
D | ebpf_base.h | 39 bool EBPFReloadElfSymbolTable(const std::vector<std::unique_ptr<SymbolsFile>> &symbolsFiles);
|