aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci/tracie
diff options
context:
space:
mode:
authorTomeu Vizoso <[email protected]>2020-03-06 10:09:58 +0100
committerTomeu Vizoso <[email protected]>2020-03-17 07:12:36 +0100
commit43873afda4f8faa2b31a2f130fab52fbc24d490f (patch)
tree51890a29b616f82636275233e9aca8d1955a2607 /.gitlab-ci/tracie
parent2ca662fb61269e3e3d36f8aab5939bc9dce14b4a (diff)
gitlab-ci: Use surfaceless platform also for apitrace
In preparation for using apitrace to replay traces in LAVA jobs, build a newer waffle so apitrace can use the surfaceless EGL platform. As things were before this commit, Xvfb would have been needed in the LAVA images. Signed-off-by: Tomeu Vizoso <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4000>
Diffstat (limited to '.gitlab-ci/tracie')
-rw-r--r--.gitlab-ci/tracie/dump_trace_images.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci/tracie/dump_trace_images.py b/.gitlab-ci/tracie/dump_trace_images.py
index 6a3ed6b18e6..343ff77bb31 100644
--- a/.gitlab-ci/tracie/dump_trace_images.py
+++ b/.gitlab-ci/tracie/dump_trace_images.py
@@ -77,8 +77,8 @@ def dump_with_apitrace(trace_path, calls, device_name):
outputprefix = str(Path(outputdir) / trace_path.name) + "-"
if len(calls) == 0:
calls = [str(get_last_apitrace_frame_call(trace_path))]
- cmd = ["apitrace", "dump-images", "--calls=" + ','.join(calls),
- "-o", outputprefix, str(trace_path)]
+ cmd = ["eglretrace", "--snapshot=" + ','.join(calls),
+ "--snapshot-prefix=" + outputprefix, str(trace_path)]
log_path = Path(outputdir) / (trace_path.name + ".log")
run_logged_command(cmd, None, log_path)