Home
last modified time | relevance | path

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

/system/extras/simpleperf/scripts/
Dbinary_cache_builder.py152 binary_cache_file = binary[1:].replace('/', os.sep)
153 binary_cache_file = os.path.join(self.binary_cache_dir, binary_cache_file)
154 self._check_and_pull_binary(binary, build_id, binary_cache_file)
157 def _check_and_pull_binary(self, binary, expected_build_id, binary_cache_file): argument
162 if os.path.isfile(binary_cache_file):
165 build_id = self._read_build_id(binary_cache_file)
169 target_dir = os.path.dirname(binary_cache_file)
172 if os.path.isfile(binary_cache_file):
173 os.remove(binary_cache_file)
174 log_info('pull file to binary_cache: %s to %s' % (binary, binary_cache_file))
[all …]