diff options
author | Andres Gomez <[email protected]> | 2020-03-18 16:39:49 +0200 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-03-27 13:48:17 +0000 |
commit | 6bae042b3da4d962cd19137ddcde110ff6a88359 (patch) | |
tree | 043dd38db1bbf9d5c6998a716cc8db2fa8bca606 /.gitlab-ci | |
parent | 9f4acd465edc1360a1d5ea2646379bd5db3e1598 (diff) |
gitlab-ci: replay apitrace traces in headless mode
Signed-off-by: Andres Gomez <[email protected]>
Reviewed-by: Alexandros Frantzis <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4238>
Diffstat (limited to '.gitlab-ci')
-rw-r--r-- | .gitlab-ci/tracie/dump_trace_images.py | 3 |
1 files changed, 2 insertions, 1 deletions
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) |