Searched refs:elfPath (Results 1 – 4 of 4) sorted by relevance
| /developtools/hiperf/src/ |
| D | hiperf_libreport.cpp | 224 const char *ReportGetBuildId(const char *elfPath) in ReportGetBuildId() argument 228 std::unique_ptr<ElfFile> elfFile = ElfFile::MakeUnique(elfPath); in ReportGetBuildId() 230 printf("elf '%s' load failed\n", elfPath); in ReportGetBuildId() 238 HLOGD("%s buildId:%s\n", elfPath, buildId.c_str()); in ReportGetBuildId() 243 printf("elf '%s' have not found buildId\n", elfPath); in ReportGetBuildId() 248 const char *ReportGetElfArch(const char *elfPath) in ReportGetElfArch() argument 251 std::unique_ptr<ElfFile> elfFile = ElfFile::MakeUnique(elfPath); in ReportGetElfArch() 255 printf("elf '%s' load failed\n", elfPath); in ReportGetElfArch() 274 HLOGD("elf '%s' mache value is '%x'(%s) \n", elfPath, elfFile->ehdr_->machine_, in ReportGetElfArch()
|
| D | symbols_file.cpp | 346 std::string elfPath = FindSymbolFile(symbolsFileSearchPaths_, symbolFilePath); in LoadDebugInfo() local 347 if (elfPath.empty()) { in LoadDebugInfo() 351 std::unique_ptr<ElfFile> elfFile = LoadElfFile(elfPath); in LoadDebugInfo() 356 HLOGD("loaded elf %s", elfPath.c_str()); in LoadDebugInfo() 376 LoadFileToMemory(elfPath); in LoadDebugInfo() 728 std::unique_ptr<ElfFile> LoadElfFile(std::string &elfPath) const in LoadElfFile() 730 HLOGD("try load elf %s", elfPath.c_str()); in LoadElfFile() 731 if (elfPath.empty()) { in LoadElfFile() 732 elfPath = filePath_; in LoadElfFile() 733 HLOGD("use default elf path %s\n", elfPath.c_str()); in LoadElfFile() [all …]
|
| /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);
|
| /developtools/profiler/device/plugins/native_daemon/src/ |
| D | symbols_file.cpp | 322 std::string elfPath = FindSymbolFile(symbolsFileSearchPaths_, symbolFilePath); in LoadDebugInfo() local 323 CHECK_TRUE(!elfPath.empty(), false, "elf found failed (belong to %s)", filePath_.c_str()); in LoadDebugInfo() 324 std::unique_ptr<ElfFile> elfFile = LoadElfFile(elfPath); in LoadDebugInfo() 329 HLOGD("loaded elf %s", elfPath.c_str()); in LoadDebugInfo() 349 LoadFileToMemory(elfPath); in LoadDebugInfo() 698 std::unique_ptr<ElfFile> LoadElfFile(std::string &elfPath) const in LoadElfFile() 700 HLOGD("try load elf %s", elfPath.c_str()); in LoadElfFile() 701 if (elfPath.empty()) { in LoadElfFile() 702 elfPath = filePath_; in LoadElfFile() 703 HLOGD("use default elf path %s\n", elfPath.c_str()); in LoadElfFile() [all …]
|