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.py153 binary_cache_file = binary[1:].replace('/', os.sep)
154 binary_cache_file = os.path.join(self.binary_cache_dir, binary_cache_file)
155 self._check_and_pull_binary(binary, build_id, binary_cache_file)
158 def _check_and_pull_binary(self, binary, expected_build_id, binary_cache_file): argument
163 if os.path.isfile(binary_cache_file):
166 build_id = self._read_build_id(binary_cache_file)
170 target_dir = os.path.dirname(binary_cache_file)
173 if os.path.isfile(binary_cache_file):
174 os.remove(binary_cache_file)
175 log_info('pull file to binary_cache: %s to %s' % (binary, binary_cache_file))
[all …]