/system/extras/simpleperf/ |
D | build_id.h | 26 class BuildId { 32 BuildId() { in BuildId() function 37 BuildId(const void* data, size_t len) : BuildId() { in BuildId() function 42 explicit BuildId(const std::string& s) : BuildId() { in BuildId() function 71 bool operator==(const BuildId& build_id) const { 75 bool operator!=(const BuildId& build_id) const { 80 static BuildId empty_build_id; in IsEmpty()
|
D | read_elf.h | 24 bool GetBuildIdFromNoteFile(const std::string& filename, BuildId* build_id); 25 bool GetBuildIdFromElfFile(const std::string& filename, BuildId* build_id); 27 uint32_t file_size, BuildId* build_id); 44 bool ParseSymbolsFromElfFile(const std::string& filename, const BuildId& expected_build_id, 47 uint32_t file_size, const BuildId& expected_build_id, 51 const BuildId& expected_build_id,
|
D | read_elf_test.cpp | 25 BuildId build_id; in TEST() 27 ASSERT_EQ(build_id, BuildId(elf_file_build_id)); in TEST() 31 BuildId build_id; in TEST() 60 ASSERT_TRUE(ParseSymbolsFromElfFile(GetTestData(ELF_FILE), BuildId(), in TEST() 66 BuildId build_id("01010101010101010101"); in TEST()
|
D | dso.cpp | 57 std::unordered_map<std::string, BuildId> Dso::build_id_map_; 113 void Dso::SetBuildIds(const std::vector<std::pair<std::string, BuildId>>& build_ids) { in SetBuildIds() 114 std::unordered_map<std::string, BuildId> map; in SetBuildIds() 122 BuildId Dso::GetExpectedBuildId(const std::string& filename) { in GetExpectedBuildId() 127 return BuildId(); in GetExpectedBuildId() 183 BuildId build_id = GetExpectedBuildId(GetAccessiblePath()); in MinVirtualAddress() 237 BuildId build_id = GetExpectedBuildId(DEFAULT_KERNEL_FILENAME_FOR_BUILD_ID); in LoadKernel() 243 BuildId real_build_id; in LoadKernel() 285 BuildId build_id = GetExpectedBuildId(path_); in LoadKernelModule() 298 BuildId build_id = GetExpectedBuildId(GetAccessiblePath()); in LoadElfFile() [all …]
|
D | read_elf.cpp | 67 static bool GetBuildIdFromNoteSection(const char* section, size_t section_size, BuildId* build_id) { in GetBuildIdFromNoteSection() 82 *build_id = BuildId(p + namesz, descsz); in GetBuildIdFromNoteSection() 90 bool GetBuildIdFromNoteFile(const std::string& filename, BuildId* build_id) { in GetBuildIdFromNoteFile() 104 bool GetBuildIdFromELFFile(const llvm::object::ELFFile<ELFT>* elf, BuildId* build_id) { in GetBuildIdFromELFFile() 122 static bool GetBuildIdFromObjectFile(llvm::object::ObjectFile* obj, BuildId* build_id) { in GetBuildIdFromObjectFile() 183 bool GetBuildIdFromElfFile(const std::string& filename, BuildId* build_id) { in GetBuildIdFromElfFile() 193 uint32_t file_size, BuildId* build_id) { in GetBuildIdFromEmbeddedElfFile() 268 bool MatchBuildId(llvm::object::ObjectFile* obj, const BuildId& expected_build_id, in MatchBuildId() 273 BuildId real_build_id; in MatchBuildId() 286 bool ParseSymbolsFromElfFile(const std::string& filename, const BuildId& expected_build_id, in ParseSymbolsFromElfFile() [all …]
|
D | get_test_data.h | 40 static BuildId elf_file_build_id("0b12a384a9f4a3f3659b7171ca615dbec3a81f71"); 64 static BuildId native_lib_build_id("8ed5755a7fdc07586ca228b8ee21621bce2c7a97");
|
D | dso.h | 58 static void SetBuildIds(const std::vector<std::pair<std::string, BuildId>>& build_ids); 79 static BuildId GetExpectedBuildId(const std::string& filename); 88 static std::unordered_map<std::string, BuildId> build_id_map_;
|
D | environment.h | 64 bool GetKernelBuildId(BuildId* build_id); 65 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 | environment_fake.cpp | 24 bool GetKernelBuildId(BuildId*) { in GetKernelBuildId() argument
|
D | record_file_test.cpp | 69 char p[BuildId::Size()]; in TEST_F() 70 for (size_t i = 0; i < BuildId::Size(); ++i) { in TEST_F() 73 BuildId build_id(p); in TEST_F()
|
D | read_apk.cpp | 174 BuildId* build_id) { in GetBuildIdFromApkFile() 183 const BuildId& expected_build_id, in ParseSymbolsFromApkFile()
|
D | read_apk_test.cpp | 54 BuildId build_id; in TEST()
|
D | record.h | 284 BuildId build_id; 367 BuildIdRecord CreateBuildIdRecord(bool in_kernel, pid_t pid, const BuildId& build_id,
|
D | environment.cpp | 362 bool GetKernelBuildId(BuildId* build_id) { in GetKernelBuildId() 366 bool GetModuleBuildId(const std::string& module_name, BuildId* build_id) { in GetModuleBuildId()
|
D | record.cpp | 538 build_id = BuildId(p, BUILD_ID_SIZE); in BuildIdRecord() 678 BuildIdRecord CreateBuildIdRecord(bool in_kernel, pid_t pid, const BuildId& build_id, in CreateBuildIdRecord()
|
D | cmd_record.cpp | 784 BuildId build_id; in DumpBuildIdFeature()
|
D | cmd_report.cpp | 632 std::vector<std::pair<std::string, BuildId>> build_ids; in ReadFeaturesFromRecordFile()
|
/system/extras/simpleperf/nonlinux_support/ |
D | nonlinux_support.cpp | 32 bool GetKernelBuildId(BuildId*) { in GetKernelBuildId() argument
|