Home
last modified time | relevance | path

Searched refs:expected_build_id (Results 1 – 6 of 6) sorted by relevance

/system/extras/simpleperf/scripts/
Dbinary_cache_builder.py112 expected_build_id = self.binaries.get(binary)
113 if expected_build_id == build_id:
115 expected_build_id, binary)
119 def _copy_to_binary_cache(self, from_path, expected_build_id, target_file): argument
124 if not self._need_to_copy(from_path, target_file, expected_build_id):
134 def _need_to_copy(self, source_file, target_file, expected_build_id): argument
137 if self._read_build_id(target_file) != expected_build_id:
165 def _check_and_pull_binary(self, binary, expected_build_id, binary_cache_file): argument
172 if expected_build_id:
174 if expected_build_id != build_id:
Dtest.py1255 expected_build_id = readelf.get_build_id(origin_file)
1257 binary_cache_builder.binaries['simpleperf_runtest_two_functions_arm'] = expected_build_id
/system/extras/simpleperf/
Dread_elf.h63 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,
Dread_elf.cpp423 ElfStatus MatchBuildId(llvm::object::ObjectFile* obj, const BuildId& expected_build_id) { in MatchBuildId() argument
424 if (expected_build_id.IsEmpty()) { in MatchBuildId()
432 if (expected_build_id != real_build_id) { in MatchBuildId()
439 const BuildId& expected_build_id, in ParseSymbolsFromElfFile() argument
445 return ParseSymbolsFromEmbeddedElfFile(filename, 0, 0, expected_build_id, callback); in ParseSymbolsFromElfFile()
449 uint32_t file_size, const BuildId& expected_build_id, in ParseSymbolsFromEmbeddedElfFile() argument
456 result = MatchBuildId(wrapper.obj, expected_build_id); in ParseSymbolsFromEmbeddedElfFile()
533 const BuildId& expected_build_id, in ReadMinExecutableVirtualAddressFromElfFile() argument
540 return ReadMinExecutableVirtualAddressFromEmbeddedElfFile(filename, 0, 0, expected_build_id, in ReadMinExecutableVirtualAddressFromElfFile()
547 const BuildId& expected_build_id, in ReadMinExecutableVirtualAddressFromEmbeddedElfFile() argument
[all …]
Dread_elf_test.cpp43 BuildId expected_build_id(build_id_data, 20); in TEST() local
58 ASSERT_TRUE(build_id == expected_build_id); in TEST()
/system/core/libunwindstack/tests/
DMapInfoGetBuildIDTest.cpp56 void MultipleThreadTest(std::string expected_build_id);
92 void MapInfoGetBuildIDTest::MultipleThreadTest(std::string expected_build_id) { in MultipleThreadTest() argument
120 EXPECT_EQ(expected_build_id, build_id_values[i]) << "Thread " << i << " mismatched."; in MultipleThreadTest()