Lines Matching refs:trace_path
32 def replay(trace_path, device_name): argument
33 success = dump_trace_images.dump_from_trace(trace_path, [], device_name)
36 …ck_image] Trace %s couldn't be replayed. See above logs for more information." % (str(trace_path)))
39 base_path = trace_path.parent
40 file_name = trace_path.name
50 trace_path = TRACES_DB_PATH + trace['path']
52 if not os.path.exists(trace_path):
53 print("{} missing".format(trace_path))
57 os.makedirs(os.path.dirname(trace_path), exist_ok=True)
59 if os.path.exists(trace_path):
65 open(trace_path, "wb").write(r.content)
141 def image_diff_url(trace_path): argument
145 trace_path)
154 trace_path = Path(TRACES_DB_PATH + trace['path'])
155 checksum, image_file, log_file = replay(trace_path, device_name)