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,
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);
Dread_elf_test.cpp33 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 …]
Ddso.h42 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);
Dget_test_data.h48 static BuildId elf_file_build_id("0b12a384a9f4a3f3659b7171ca615dbec3a81f71");
72 static BuildId native_lib_build_id("8ed5755a7fdc07586ca228b8ee21621bce2c7a97");
100 static BuildId CHECK_ELF_FILE_BUILD_ID("91b1c10fdd9fe2221dfec525497637f2229bfdbb");
Ddso.cpp89 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 …]
Dread_elf.cpp103 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 …]
Ddso_test.cpp37 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()
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()
Denvironment.h65 bool GetKernelBuildId(BuildId* build_id);
66 bool GetModuleBuildId(const std::string& module_name, BuildId* build_id);
Drecord.h429 BuildId build_id;
434 BuildIdRecord(bool in_kernel, pid_t pid, const BuildId& build_id,
Denvironment.cpp271 bool GetKernelBuildId(BuildId* build_id) { in GetKernelBuildId()
279 bool GetModuleBuildId(const std::string& module_name, BuildId* build_id) { in GetModuleBuildId()
Dreport_lib_interface.cpp421 BuildId build_id = Dso::FindExpectedBuildIdForPath(path); in GetBuildIdForPath()
Drecord_file_reader.cpp493 std::vector<std::pair<std::string, BuildId>> build_ids; in LoadBuildIdAndFileFeatures()
DJITDebugReader.cpp342 ElfStatus status = ReadMinExecutableVirtualAddressFromElfFile(art_lib_path, BuildId(), in GetDescriptorsLocation()
Drecord.cpp881 build_id = BuildId(p, BUILD_ID_SIZE); in BuildIdRecord()
894 BuildIdRecord::BuildIdRecord(bool in_kernel, pid_t pid, const BuildId& build_id, in BuildIdRecord()
Dcmd_record.cpp1589 BuildId build_id; in DumpBuildIdFeature()
/system/extras/simpleperf/nonlinux_support/
Dnonlinux_support.cpp24 bool GetKernelBuildId(BuildId*) { in GetKernelBuildId() argument
/system/extras/perfprofd/
Dsymbolizer.cc84 ElfStatus status = ParseSymbolsFromElfFile(dso, BuildId(), callback); in LoadDso()
145 ElfStatus status = ReadMinExecutableVirtualAddressFromElfFile(dso, BuildId(), addr, in GetMinExecutableVAddr()