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.py158 binary_cache_file = binary[1:].replace('/', os.sep)
159 binary_cache_file = os.path.join(self.binary_cache_dir, binary_cache_file)
160 self._check_and_pull_binary(binary, build_id, binary_cache_file)
163 def _check_and_pull_binary(self, binary, expected_build_id, binary_cache_file): argument
168 if os.path.isfile(binary_cache_file):
171 build_id = self._read_build_id(binary_cache_file)
175 target_dir = os.path.dirname(binary_cache_file)
178 if os.path.isfile(binary_cache_file):
179 os.remove(binary_cache_file)
180 log_info('pull file to binary_cache: %s to %s' % (binary, binary_cache_file))
[all …]