Home
last modified time | relevance | path

Searched refs:BuildId (Results 1 – 19 of 19) sorted by relevance

/system/extras/simpleperf/
Dbuild_id.h30 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()
Dread_elf.h42 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);
Dread_elf_test.cpp34 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()
Ddso.cpp60 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 …]
Ddso.h97 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();
Dread_elf.cpp102 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 …]
Dget_test_data.h47 static BuildId elf_file_build_id("0b12a384a9f4a3f3659b7171ca615dbec3a81f71");
71 static BuildId native_lib_build_id("8ed5755a7fdc07586ca228b8ee21621bce2c7a97");
Denvironment.h60 bool GetKernelBuildId(BuildId* build_id);
61 bool GetModuleBuildId(const std::string& module_name, BuildId* build_id);
Dread_apk.h95 BuildId* build_id);
98 const BuildId& expected_build_id,
Drecord_file_test.cpp70 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()
Dread_apk.cpp175 BuildId* build_id) { in GetBuildIdFromApkFile()
184 const BuildId& expected_build_id, in ParseSymbolsFromApkFile()
Dread_apk_test.cpp54 BuildId build_id; in TEST()
Denvironment.cpp300 bool GetKernelBuildId(BuildId* build_id) { in GetKernelBuildId()
308 bool GetModuleBuildId(const std::string& module_name, BuildId* build_id) { in GetModuleBuildId()
Drecord.h412 BuildId build_id;
417 BuildIdRecord(bool in_kernel, pid_t pid, const BuildId& build_id,
Dreport_lib_interface.cpp336 BuildId build_id = Dso::FindExpectedBuildIdForPath(path); in GetBuildIdForPath()
Drecord_file_reader.cpp439 std::vector<std::pair<std::string, BuildId>> build_ids; in LoadBuildIdAndFileFeatures()
Drecord.cpp682 build_id = BuildId(p, BUILD_ID_SIZE); in BuildIdRecord()
695 BuildIdRecord::BuildIdRecord(bool in_kernel, pid_t pid, const BuildId& build_id, in BuildIdRecord()
Dcmd_record.cpp970 BuildId build_id; in DumpBuildIdFeature()
/system/extras/simpleperf/nonlinux_support/
Dnonlinux_support.cpp28 bool GetKernelBuildId(BuildId*) { in GetKernelBuildId() argument