Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Dbuild_id.h26 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()
Dread_elf.h24 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,
Dread_elf_test.cpp25 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()
Ddso.cpp57 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 …]
Dread_elf.cpp67 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 …]
Dget_test_data.h40 static BuildId elf_file_build_id("0b12a384a9f4a3f3659b7171ca615dbec3a81f71");
64 static BuildId native_lib_build_id("8ed5755a7fdc07586ca228b8ee21621bce2c7a97");
Ddso.h58 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_;
Denvironment.h64 bool GetKernelBuildId(BuildId* build_id);
65 bool GetModuleBuildId(const std::string& module_name, BuildId* build_id);
Dread_apk.h95 BuildId* build_id);
98 const BuildId& expected_build_id,
Denvironment_fake.cpp24 bool GetKernelBuildId(BuildId*) { in GetKernelBuildId() argument
Drecord_file_test.cpp69 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()
Dread_apk.cpp174 BuildId* build_id) { in GetBuildIdFromApkFile()
183 const BuildId& expected_build_id, in ParseSymbolsFromApkFile()
Dread_apk_test.cpp54 BuildId build_id; in TEST()
Drecord.h284 BuildId build_id;
367 BuildIdRecord CreateBuildIdRecord(bool in_kernel, pid_t pid, const BuildId& build_id,
Denvironment.cpp362 bool GetKernelBuildId(BuildId* build_id) { in GetKernelBuildId()
366 bool GetModuleBuildId(const std::string& module_name, BuildId* build_id) { in GetModuleBuildId()
Drecord.cpp538 build_id = BuildId(p, BUILD_ID_SIZE); in BuildIdRecord()
678 BuildIdRecord CreateBuildIdRecord(bool in_kernel, pid_t pid, const BuildId& build_id, in CreateBuildIdRecord()
Dcmd_record.cpp784 BuildId build_id; in DumpBuildIdFeature()
Dcmd_report.cpp632 std::vector<std::pair<std::string, BuildId>> build_ids; in ReadFeaturesFromRecordFile()
/system/extras/simpleperf/nonlinux_support/
Dnonlinux_support.cpp32 bool GetKernelBuildId(BuildId*) { in GetKernelBuildId() argument