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.py160 binary_cache_file = binary[1:].replace('/', os.sep)
161 binary_cache_file = os.path.join(self.binary_cache_dir, binary_cache_file)
162 self._check_and_pull_binary(binary, build_id, binary_cache_file)
164 def _check_and_pull_binary(self, binary, expected_build_id, binary_cache_file): argument
169 if os.path.isfile(binary_cache_file):
172 build_id = self._read_build_id(binary_cache_file)
176 target_dir = os.path.dirname(binary_cache_file)
179 if os.path.isfile(binary_cache_file):
180 os.remove(binary_cache_file)
181 log_info('pull file to binary_cache: %s to %s' % (binary, binary_cache_file))
[all …]