/system/extras/simpleperf/ |
D | build_id.h | 30 class BuildId { 36 BuildId() { in BuildId() function 41 BuildId(const void* data, size_t len) : BuildId() { in BuildId() function 46 explicit BuildId(const std::string& s) : BuildId() { in BuildId() function 75 bool operator==(const BuildId& build_id) const { 79 bool operator!=(const BuildId& build_id) const { 84 static BuildId empty_build_id; in IsEmpty()
|
D | read_elf.h | 42 ElfStatus GetBuildIdFromNoteFile(const std::string& filename, BuildId* build_id); 43 ElfStatus GetBuildIdFromElfFile(const std::string& filename, BuildId* build_id); 45 uint32_t file_size, BuildId* build_id); 63 const BuildId& expected_build_id, 66 uint32_t file_size, const BuildId& expected_build_id, 74 const BuildId& expected_build_id, 80 const BuildId& expected_build_id, 92 bool GetBuildIdFromNoteSection(const char* section, size_t section_size, BuildId* build_id);
|
D | read_elf_test.cpp | 33 BuildId build_id; in TEST() 43 BuildId expected_build_id(build_id_data, 20); in TEST() 63 BuildId build_id; in TEST() 65 ASSERT_EQ(build_id, BuildId(elf_file_build_id)); in TEST() 69 BuildId build_id; in TEST() 106 ASSERT_EQ(ElfStatus::NO_ERROR, ParseSymbolsFromElfFile(GetTestData(ELF_FILE), BuildId(), in TEST() 112 BuildId build_id("01010101010101010101"); in TEST() 128 …ElfStatus::NO_ERROR, ParseSymbolsFromElfFile(GetTestData(ELF_FILE_WITH_MINI_DEBUG_INFO), BuildId(), in TEST() 151 ASSERT_EQ(ElfStatus::NO_ERROR, ParseSymbolsFromElfFile(GetTestData(ELF_FILE), BuildId(), in TEST() 160 ParseSymbolsFromElfFile(elf_path, BuildId(), in TEST() [all …]
|
D | dso.h | 42 BuildId& build_id); 135 const std::vector<std::pair<std::string, BuildId>>& build_ids); 136 static BuildId FindExpectedBuildIdForPath(const std::string& path); 193 static std::unordered_map<std::string, BuildId> build_id_map_; 199 BuildId GetExpectedBuildId(); 224 bool GetBuildIdFromDsoPath(const std::string& dso_path, BuildId* build_id);
|
D | get_test_data.h | 48 static BuildId elf_file_build_id("0b12a384a9f4a3f3659b7171ca615dbec3a81f71"); 72 static BuildId native_lib_build_id("8ed5755a7fdc07586ca228b8ee21621bce2c7a97"); 100 static BuildId CHECK_ELF_FILE_BUILD_ID("91b1c10fdd9fe2221dfec525497637f2229bfdbb");
|
D | dso.cpp | 89 BuildId build_id; in CollectBuildIdInDir() 106 BuildId& build_id) { in FindDebugFile() 124 BuildId debug_build_id; in FindDebugFile() 201 std::unordered_map<std::string, BuildId> Dso::build_id_map_; 247 const std::vector<std::pair<std::string, BuildId>>& build_ids) { in SetBuildIds() 248 std::unordered_map<std::string, BuildId> map; in SetBuildIds() 261 BuildId Dso::FindExpectedBuildIdForPath(const std::string& path) { in FindExpectedBuildIdForPath() 266 return BuildId(); in FindExpectedBuildIdForPath() 269 BuildId Dso::GetExpectedBuildId() { in GetExpectedBuildId() 474 BuildId build_id = GetExpectedBuildId(); in GetMinExecutableVaddr() [all …]
|
D | read_elf.cpp | 103 bool GetBuildIdFromNoteSection(const char* section, size_t section_size, BuildId* build_id) { in GetBuildIdFromNoteSection() 122 *build_id = BuildId(p + namesz, descsz); in GetBuildIdFromNoteSection() 133 ElfStatus GetBuildIdFromNoteFile(const std::string& filename, BuildId* build_id) { in GetBuildIdFromNoteFile() 145 ElfStatus GetBuildIdFromELFFile(const llvm::object::ELFObjectFile<ELFT>* elf, BuildId* build_id) { in GetBuildIdFromELFFile() 166 static ElfStatus GetBuildIdFromObjectFile(llvm::object::ObjectFile* obj, BuildId* build_id) { in GetBuildIdFromObjectFile() 227 ElfStatus GetBuildIdFromElfFile(const std::string& filename, BuildId* build_id) { in GetBuildIdFromElfFile() 236 uint32_t file_size, BuildId* build_id) { in GetBuildIdFromEmbeddedElfFile() 423 ElfStatus MatchBuildId(llvm::object::ObjectFile* obj, const BuildId& expected_build_id) { in MatchBuildId() 427 BuildId real_build_id; in MatchBuildId() 439 const BuildId& expected_build_id, in ParseSymbolsFromElfFile() [all …]
|
D | dso_test.cpp | 37 BuildId build_id(ELF_FILE_BUILD_ID); in TEST() 57 BuildId build_id(ELF_FILE_BUILD_ID); in TEST() 72 BuildId build_id; in TEST() 140 BuildId build_id; in TEST()
|
D | record_file_test.cpp | 70 char p[BuildId::Size()]; in TEST_F() 71 for (size_t i = 0; i < BuildId::Size(); ++i) { in TEST_F() 74 BuildId build_id(p); in TEST_F()
|
D | environment.h | 65 bool GetKernelBuildId(BuildId* build_id); 66 bool GetModuleBuildId(const std::string& module_name, BuildId* build_id);
|
D | record.h | 429 BuildId build_id; 434 BuildIdRecord(bool in_kernel, pid_t pid, const BuildId& build_id,
|
D | environment.cpp | 271 bool GetKernelBuildId(BuildId* build_id) { in GetKernelBuildId() 279 bool GetModuleBuildId(const std::string& module_name, BuildId* build_id) { in GetModuleBuildId()
|
D | report_lib_interface.cpp | 421 BuildId build_id = Dso::FindExpectedBuildIdForPath(path); in GetBuildIdForPath()
|
D | record_file_reader.cpp | 493 std::vector<std::pair<std::string, BuildId>> build_ids; in LoadBuildIdAndFileFeatures()
|
D | JITDebugReader.cpp | 342 ElfStatus status = ReadMinExecutableVirtualAddressFromElfFile(art_lib_path, BuildId(), in GetDescriptorsLocation()
|
D | record.cpp | 881 build_id = BuildId(p, BUILD_ID_SIZE); in BuildIdRecord() 894 BuildIdRecord::BuildIdRecord(bool in_kernel, pid_t pid, const BuildId& build_id, in BuildIdRecord()
|
D | cmd_record.cpp | 1589 BuildId build_id; in DumpBuildIdFeature()
|
/system/extras/simpleperf/nonlinux_support/ |
D | nonlinux_support.cpp | 24 bool GetKernelBuildId(BuildId*) { in GetKernelBuildId() argument
|
/system/extras/perfprofd/ |
D | symbolizer.cc | 84 ElfStatus status = ParseSymbolsFromElfFile(dso, BuildId(), callback); in LoadDso() 145 ElfStatus status = ReadMinExecutableVirtualAddressFromElfFile(dso, BuildId(), addr, in GetMinExecutableVAddr()
|