Searched refs:elfPath (Results 1 – 4 of 4) sorted by relevance
| /developtools/profiler/device/plugins/native_daemon/src/ |
| D | symbols_file.cpp | 198 std::string elfPath = FindSymbolFile(symbolsFileSearchPaths_, symbolFilePath); in LoadDebugInfo() local 199 … UNWIND_CHECK_TRUE(!elfPath.empty(), false, "elf found failed (belong to %s)", filePath_.c_str()); in LoadDebugInfo() 201 if (StringEndsWith(elfPath, ".hap")) { in LoadDebugInfo() 202 elfFile_ = DfxElf::CreateFromHap(elfPath, map->prevMap, map->offset); in LoadDebugInfo() 205 elfFile_ = std::make_shared<DfxElf>(elfPath); in LoadDebugInfo() 210 HLOGE("Failed to create elf file for %s.", elfPath.c_str()); in LoadDebugInfo() 219 HLOGD("loaded elf %s", elfPath.c_str()); in LoadDebugInfo() 221 if (StringEndsWith(elfPath, ".hap")) { in LoadDebugInfo() 222 filePath_ = elfPath + "!" + elfFile_->GetElfName(); in LoadDebugInfo() 344 void UpdateSymbols(std::vector<DfxSymbol> &symbolsTable, const std::string &elfPath) in UpdateSymbols() argument [all …]
|
| /developtools/hiperf/src/ |
| D | symbols_file.cpp | 216 std::string elfPath = FindSymbolFile(symbolsFileSearchPaths_, symbolFilePath); in LoadDebugInfo() local 217 if (elfPath.empty()) { in LoadDebugInfo() 223 if (StringEndsWith(elfPath, ".hap")) { in LoadDebugInfo() 228 elfFile_ = DfxElf::CreateFromHap(elfPath, map->prevMap, map->offset); in LoadDebugInfo() 231 elfFile_ = std::make_shared<DfxElf>(elfPath); in LoadDebugInfo() 236 HLOGD("Failed to create elf file for %s.", elfPath.c_str()); in LoadDebugInfo() 245 HLOGD("loaded elf %s", elfPath.c_str()); in LoadDebugInfo() 247 if (StringEndsWith(elfPath, ".hap")) { in LoadDebugInfo() 248 filePath_ = elfPath + "!" + elfFile_->GetElfName(); in LoadDebugInfo() 374 void UpdateSymbols(std::vector<DfxSymbol> &symbolsTable, const std::string &elfPath) in UpdateSymbols() argument [all …]
|
| D | hiperf_libreport.cpp | 152 const char *ReportGetBuildId(const char *elfPath) in ReportGetBuildId() argument 156 std::string path(elfPath); in ReportGetBuildId() 162 const char *ReportGetElfArch(const char *elfPath) in ReportGetElfArch() argument 164 std::string path(elfPath); in ReportGetElfArch() 183 HLOGD("elf '%s' mache type is %s \n", elfPath, machineName); in ReportGetElfArch()
|
| /developtools/hiperf/include/ |
| D | hiperf_libreport.h | 88 DLL_EXPORT const char *CDECL ReportGetBuildId(const char *elfPath); 95 DLL_EXPORT const char *CDECL ReportGetElfArch(const char *elfPath);
|