/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() 92 inline std::ostream& operator<<(std::ostream& os, const BuildId& build_id) {
|
D | dso_test.cpp | 38 BuildId build_id(ELF_FILE_BUILD_ID); in TEST() 66 BuildId build_id(ELF_FILE_BUILD_ID); in TEST() 80 BuildId build_id; in TEST() 115 BuildId build_id; in TEST() 123 BuildId build_id(ELF_FILE_BUILD_ID); in TEST() 132 build_id = BuildId(); in TEST() 142 BuildId mismatch_build_id("0c12a384a9f4a3f3659b7171ca615dbec3a81f71"); in TEST() 202 BuildId build_id; in TEST() 216 std::vector<std::pair<std::string, BuildId>> build_ids; in TEST() 217 build_ids.emplace_back(ELF_FILE, BuildId(ELF_FILE_BUILD_ID)); in TEST()
|
D | dso.h | 43 BuildId& build_id); 136 const std::vector<std::pair<std::string, BuildId>>& build_ids); 137 static BuildId FindExpectedBuildIdForPath(const std::string& path); 143 BuildId& build_id); 197 static std::unordered_map<std::string, BuildId> build_id_map_; 203 BuildId GetExpectedBuildId(); 228 bool GetBuildIdFromDsoPath(const std::string& dso_path, BuildId* build_id);
|
D | read_elf.h | 42 ElfStatus GetBuildIdFromNoteFile(const std::string& filename, BuildId* build_id); 81 const BuildId* expected_build_id, ElfStatus* status); 88 virtual ElfStatus GetBuildId(BuildId* build_id) = 0; 107 bool GetBuildIdFromNoteSection(const char* section, size_t section_size, 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 | 91 BuildId build_id; in CollectBuildIdInDir() 109 static bool CheckDebugFilePath(const std::string& path, BuildId& build_id, in CheckDebugFilePath() 116 BuildId debug_build_id; in CheckDebugFilePath() 133 BuildId& build_id) { in FindDebugFile() 226 std::unordered_map<std::string, BuildId> Dso::build_id_map_; 272 const std::vector<std::pair<std::string, BuildId>>& build_ids) { in SetBuildIds() 273 std::unordered_map<std::string, BuildId> map; in SetBuildIds() 286 BuildId Dso::FindExpectedBuildIdForPath(const std::string& path) { in FindExpectedBuildIdForPath() 291 return BuildId(); in FindExpectedBuildIdForPath() 294 BuildId Dso::GetExpectedBuildId() { in GetExpectedBuildId() [all …]
|
D | read_elf_test.cpp | 36 BuildId build_id; in TEST() 46 BuildId expected_build_id(build_id_data, 20); in TEST() 66 BuildId build_id; in TEST() 71 ASSERT_EQ(build_id, BuildId(elf_file_build_id)); in TEST() 75 BuildId build_id; in TEST() 128 BuildId build_id; in TEST() 137 BuildId build_id("01010101010101010101"); in TEST() 205 BuildId build_id; in TEST()
|
D | environment_test.cpp | 106 BuildId build_id; in TEST() 111 ASSERT_EQ(build_id, BuildId("3e0ba155286f3454")); 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 | 64 bool GetKernelBuildId(BuildId* build_id); 65 bool GetModuleBuildId(const std::string& module_name, BuildId* build_id,
|
D | read_elf.cpp | 91 bool GetBuildIdFromNoteSection(const char* section, size_t section_size, BuildId* build_id) { in GetBuildIdFromNoteSection() 110 *build_id = BuildId(p + namesz, descsz); in GetBuildIdFromNoteSection() 121 ElfStatus GetBuildIdFromNoteFile(const std::string& filename, BuildId* build_id) { in GetBuildIdFromNoteFile() 342 ElfStatus GetBuildId(BuildId* build_id) override { in GetBuildId() 487 const BuildId* expected_build_id, ElfStatus* status) { in Open() 515 BuildId real_build_id; in Open()
|
D | cmd_inject.cpp | 301 auto check_build_id = [](Dso* dso, const BuildId& expected_build_id) { in ProcessBranchListFile() 305 BuildId build_id; in ProcessBranchListFile() 312 BuildId build_id(binary_proto.build_id()); in ProcessBranchListFile() 408 BuildId build_id = Dso::FindExpectedBuildIdForPath(dso->Path()); in PostProcessBranchList()
|
D | record.h | 445 BuildId build_id; 450 BuildIdRecord(bool in_kernel, pid_t pid, const BuildId& build_id,
|
D | environment.cpp | 246 bool GetKernelBuildId(BuildId* build_id) { in GetKernelBuildId() 254 bool GetModuleBuildId(const std::string& module_name, BuildId* build_id, in GetModuleBuildId()
|
D | report_lib_interface.cpp | 441 BuildId build_id = Dso::FindExpectedBuildIdForPath(path); in GetBuildIdForPath()
|
D | record_file_reader.cpp | 541 std::vector<std::pair<std::string, BuildId>> build_ids; in LoadBuildIdAndFileFeatures()
|
D | record.cpp | 898 build_id = BuildId(p, BUILD_ID_SIZE); in BuildIdRecord() 911 BuildIdRecord::BuildIdRecord(bool in_kernel, pid_t pid, const BuildId& build_id, in BuildIdRecord()
|
D | cmd_record.cpp | 1716 BuildId build_id; in DumpBuildIdFeature()
|
/system/extras/simpleperf/nonlinux_support/ |
D | nonlinux_support.cpp | 24 bool GetKernelBuildId(BuildId*) { in GetKernelBuildId() argument
|