From 6bae042b3da4d962cd19137ddcde110ff6a88359 Mon Sep 17 00:00:00 2001 From: Andres Gomez Date: Wed, 18 Mar 2020 16:39:49 +0200 Subject: [PATCH] gitlab-ci: replay apitrace traces in headless mode Signed-off-by: Andres Gomez Reviewed-by: Alexandros Frantzis Reviewed-by: Samuel Pitoiset Part-of: --- .gitlab-ci/tracie/dump_trace_images.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.30.2