From: Andres Gomez Date: Wed, 18 Mar 2020 14:39:49 +0000 (+0200) Subject: gitlab-ci: replay apitrace traces in headless mode X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6bae042b3da4d962cd19137ddcde110ff6a88359;p=mesa.git gitlab-ci: replay apitrace traces in headless mode Signed-off-by: Andres Gomez Reviewed-by: Alexandros Frantzis Reviewed-by: Samuel Pitoiset Part-of: --- diff --git a/.gitlab-ci/tracie/dump_trace_images.py b/.gitlab-ci/tracie/dump_trace_images.py index 0416414dfab..74efb1f32c7 100644 --- a/.gitlab-ci/tracie/dump_trace_images.py +++ b/.gitlab-ci/tracie/dump_trace_images.py @@ -77,7 +77,8 @@ def dump_with_apitrace(retrace_cmd, trace_path, calls, device_name): outputprefix = str(Path(outputdir) / trace_path.name) + "-" if len(calls) == 0: calls = [str(get_last_apitrace_frame_call(retrace_cmd[:-1], trace_path))] - cmd = retrace_cmd + ["--snapshot=" + ','.join(calls), + cmd = retrace_cmd + ["--headless", + "--snapshot=" + ','.join(calls), "--snapshot-prefix=" + outputprefix, str(trace_path)] log_path = Path(outputdir) / (trace_path.name + ".log") run_logged_command(cmd, None, log_path)