Module: Mesa
Branch: master
Commit: 6bae042b3da4d962cd19137ddcde110ff6a88359
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6bae042b3da4d962cd19137ddcde110ff6a88359

Author: Andres Gomez <[email protected]>
Date:   Wed Mar 18 16:39:49 2020 +0200

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>

---

 .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)

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to