ci: Enable Perfetto tracing support in Mesa builds for Linux/Android

Enable Perfetto tracing support in Mesa's x86_64/arm64 builds for Linux
and Android. This enables GPU performance counter collection via pps and
sets up the environment for runtime GL tests with support for CPU, GPU
and system-wide tracing. Information captured by Perfetto will provide
driver developers insight into the test environment and help identify
factors affecting performance.

Signed-off-by: Laura Nao <laura.nao@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38517>
This commit is contained in:
Laura Nao
2025-11-10 11:27:47 +01:00
parent fcd2acba41
commit b178612f11

View File

@@ -44,6 +44,7 @@ debian-x86_64:
-D spirv-to-dxil=true -D spirv-to-dxil=true
-D tools=drm-shim -D tools=drm-shim
-D valgrind=disabled -D valgrind=disabled
-D perfetto=true
S3_ARTIFACT_NAME: mesa-x86_64-default-${BUILDTYPE} S3_ARTIFACT_NAME: mesa-x86_64-default-${BUILDTYPE}
RUN_MESON_TESTS: "false" # debian-build-x86_64 already runs these RUN_MESON_TESTS: "false" # debian-build-x86_64 already runs these
artifacts: artifacts:
@@ -361,6 +362,7 @@ debian-android:
-D android-libbacktrace=disabled -D android-libbacktrace=disabled
-D mesa-clc=system -D mesa-clc=system
-D precomp-compiler=system -D precomp-compiler=system
-D perfetto=true
GALLIUM_ST: > GALLIUM_ST: >
-D gallium-va=disabled -D gallium-va=disabled
-D gallium-rusticl=false -D gallium-rusticl=false
@@ -493,6 +495,7 @@ debian-arm64:
-D imagination-srv=true -D imagination-srv=true
-D freedreno-kmds=msm,virtio -D freedreno-kmds=msm,virtio
-D teflon=true -D teflon=true
-D perfetto=true
GALLIUM_ST: GALLIUM_ST:
-D gallium-rusticl=true -D gallium-rusticl=true
RUN_MESON_TESTS: "false" # run by debian-arm64-build-testing RUN_MESON_TESTS: "false" # run by debian-arm64-build-testing