/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, 70 const BuildId& expected_build_id, 80 bool GetBuildIdFromNoteSection(const char* section, size_t section_size, BuildId* build_id);
|
D | read_elf_test.cpp | 34 BuildId build_id; in TEST() 44 BuildId expected_build_id(build_id_data, 20); in TEST() 64 BuildId build_id; in TEST() 66 ASSERT_EQ(build_id, BuildId(elf_file_build_id)); in TEST() 70 BuildId build_id; in TEST() 107 ASSERT_EQ(ElfStatus::NO_ERROR, ParseSymbolsFromElfFile(GetTestData(ELF_FILE), BuildId(), in TEST() 113 BuildId build_id("01010101010101010101"); in TEST() 129 …ElfStatus::NO_ERROR, ParseSymbolsFromElfFile(GetTestData(ELF_FILE_WITH_MINI_DEBUG_INFO), BuildId(), in TEST() 152 ASSERT_EQ(ElfStatus::NO_ERROR, ParseSymbolsFromElfFile(GetTestData(ELF_FILE), BuildId(), in TEST()
|
D | dso.cpp | 60 std::unordered_map<std::string, BuildId> Dso::build_id_map_; 112 const std::vector<std::pair<std::string, BuildId>>& build_ids) { in SetBuildIds() 113 std::unordered_map<std::string, BuildId> map; in SetBuildIds() 122 BuildId Dso::FindExpectedBuildIdForPath(const std::string& path) { in FindExpectedBuildIdForPath() 127 return BuildId(); in FindExpectedBuildIdForPath() 130 BuildId Dso::GetExpectedBuildId() { in GetExpectedBuildId() 240 BuildId build_id = GetExpectedBuildId(); in MinVirtualAddress() 345 BuildId build_id = GetExpectedBuildId(); in LoadKernel() 371 BuildId real_build_id; in LoadKernel() 421 BuildId build_id = GetExpectedBuildId(); in LoadKernelModule() [all …]
|
D | dso.h | 97 const std::vector<std::pair<std::string, BuildId>>& build_ids); 98 static BuildId FindExpectedBuildIdForPath(const std::string& path); 148 static std::unordered_map<std::string, BuildId> build_id_map_; 159 BuildId GetExpectedBuildId();
|
D | read_elf.cpp | 102 bool GetBuildIdFromNoteSection(const char* section, size_t section_size, BuildId* build_id) { in GetBuildIdFromNoteSection() 121 *build_id = BuildId(p + namesz, descsz); in GetBuildIdFromNoteSection() 132 ElfStatus GetBuildIdFromNoteFile(const std::string& filename, BuildId* build_id) { in GetBuildIdFromNoteFile() 144 ElfStatus GetBuildIdFromELFFile(const llvm::object::ELFObjectFile<ELFT>* elf, BuildId* build_id) { in GetBuildIdFromELFFile() 160 static ElfStatus GetBuildIdFromObjectFile(llvm::object::ObjectFile* obj, BuildId* build_id) { in GetBuildIdFromObjectFile() 221 ElfStatus GetBuildIdFromElfFile(const std::string& filename, BuildId* build_id) { in GetBuildIdFromElfFile() 230 uint32_t file_size, BuildId* build_id) { in GetBuildIdFromEmbeddedElfFile() 385 ElfStatus MatchBuildId(llvm::object::ObjectFile* obj, const BuildId& expected_build_id) { in MatchBuildId() 389 BuildId real_build_id; in MatchBuildId() 401 const BuildId& expected_build_id, in ParseSymbolsFromElfFile() [all …]
|
D | get_test_data.h | 47 static BuildId elf_file_build_id("0b12a384a9f4a3f3659b7171ca615dbec3a81f71"); 71 static BuildId native_lib_build_id("8ed5755a7fdc07586ca228b8ee21621bce2c7a97");
|
D | environment.h | 60 bool GetKernelBuildId(BuildId* build_id); 61 bool GetModuleBuildId(const std::string& module_name, BuildId* build_id);
|
D | read_apk.h | 95 BuildId* build_id); 98 const BuildId& expected_build_id,
|
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 | read_apk.cpp | 175 BuildId* build_id) { in GetBuildIdFromApkFile() 184 const BuildId& expected_build_id, in ParseSymbolsFromApkFile()
|
D | read_apk_test.cpp | 54 BuildId build_id; in TEST()
|
D | environment.cpp | 300 bool GetKernelBuildId(BuildId* build_id) { in GetKernelBuildId() 308 bool GetModuleBuildId(const std::string& module_name, BuildId* build_id) { in GetModuleBuildId()
|
D | record.h | 412 BuildId build_id; 417 BuildIdRecord(bool in_kernel, pid_t pid, const BuildId& build_id,
|
D | report_lib_interface.cpp | 336 BuildId build_id = Dso::FindExpectedBuildIdForPath(path); in GetBuildIdForPath()
|
D | record_file_reader.cpp | 439 std::vector<std::pair<std::string, BuildId>> build_ids; in LoadBuildIdAndFileFeatures()
|
D | record.cpp | 682 build_id = BuildId(p, BUILD_ID_SIZE); in BuildIdRecord() 695 BuildIdRecord::BuildIdRecord(bool in_kernel, pid_t pid, const BuildId& build_id, in BuildIdRecord()
|
D | cmd_record.cpp | 970 BuildId build_id; in DumpBuildIdFeature()
|
/system/extras/simpleperf/nonlinux_support/ |
D | nonlinux_support.cpp | 28 bool GetKernelBuildId(BuildId*) { in GetKernelBuildId() argument
|