[PATCH] CI: disable debug info for analysis jobs

Jan Beulich posted 1 patch 3 days, 11 hours ago
Failed in applying to current master (apply log)
EXTRA_XEN_CONFIG: |
[PATCH] CI: disable debug info for analysis jobs
Posted by Jan Beulich 3 days, 11 hours ago
Its generating and linking takes time (and space), while at the same time
Eclair should be entirely independent of its presence.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
---
Sadly the setting of EXTRA_XEN_CONFIG doesn't look to be cumulative
(across "extends:"), so the addition needs making to all four eclair-*
jobs.

https://gitlab.com/xen-project/hardware/xen-staging/-/pipelines/2539557855

--- a/automation/gitlab-ci/analyze.yaml
+++ b/automation/gitlab-ci/analyze.yaml
@@ -47,6 +47,7 @@ eclair-x86_64-allcode:
     RULESET: "monitored"
     EXTRA_XEN_CONFIG: |
       CONFIG_ARGO=y
+      CONFIG_DEBUG_INFO=n
       CONFIG_DEBUG_LOCK_PROFILE=y
       CONFIG_DEBUG_TRACE=y
       CONFIG_EFI_SET_VIRTUAL_ADDRESS_MAP=y
@@ -105,6 +106,7 @@ eclair-x86_64-amd:
       CONFIG_INTEL_IOMMU=n
       CONFIG_EXPERT=y
       CONFIG_DEBUG=y
+      CONFIG_DEBUG_INFO=n
       CONFIG_GDBSX=n
       CONFIG_FRAME_POINTER=n
       CONFIG_SELF_TESTS=n
@@ -129,6 +131,7 @@ eclair-ARM64-allcode:
       CONFIG_ARM64_SVE=y
       CONFIG_ARM_SMMU_V3=y
       CONFIG_BOOT_TIME_CPUPOOLS=y
+      CONFIG_DEBUG_INFO=n
       CONFIG_DEBUG_LOCK_PROFILE=y
       CONFIG_DEBUG_TRACE=y
       CONFIG_DEVICE_TREE_DEBUG=y
@@ -206,6 +209,7 @@ eclair-ARM64-amd:
       CONFIG_ARM_SMMU_V3=y
       CONFIG_EXPERT=y
       CONFIG_DEBUG=y
+      CONFIG_DEBUG_INFO=n
       CONFIG_FRAME_POINTER=n
       CONFIG_SELF_TESTS=n
       CONFIG_DEBUG_LOCKS=n
Re: [PATCH] CI: disable debug info for analysis jobs
Posted by Nicola Vetrini 3 days, 8 hours ago
On 2026-05-20 10:20, Jan Beulich wrote:
> Its generating and linking takes time (and space), while at the same 
> time
> Eclair should be entirely independent of its presence.
> 
> Signed-off-by: Jan Beulich <jbeulich@suse.com>
> ---
> Sadly the setting of EXTRA_XEN_CONFIG doesn't look to be cumulative
> (across "extends:"), so the addition needs making to all four eclair-*
> jobs.
> 

Maybe with anchors and variable expansion it could be made to work, 
having a base template EXTRA_XEN_CONFIG and then adding variables as 
needed, but let's not complicate this unless needed. Indeed ECLAIR is 
not affected by stripping flags currently (though I don't exclude it may 
in the future).

Reviewed-by: Nicola Vetrini <nicola.vetrini@bugseng.com>

> https://gitlab.com/xen-project/hardware/xen-staging/-/pipelines/2539557855
> 
> --- a/automation/gitlab-ci/analyze.yaml
> +++ b/automation/gitlab-ci/analyze.yaml
> @@ -47,6 +47,7 @@ eclair-x86_64-allcode:
>      RULESET: "monitored"
>      EXTRA_XEN_CONFIG: |
>        CONFIG_ARGO=y
> +      CONFIG_DEBUG_INFO=n
>        CONFIG_DEBUG_LOCK_PROFILE=y
>        CONFIG_DEBUG_TRACE=y
>        CONFIG_EFI_SET_VIRTUAL_ADDRESS_MAP=y
> @@ -105,6 +106,7 @@ eclair-x86_64-amd:
>        CONFIG_INTEL_IOMMU=n
>        CONFIG_EXPERT=y
>        CONFIG_DEBUG=y
> +      CONFIG_DEBUG_INFO=n
>        CONFIG_GDBSX=n
>        CONFIG_FRAME_POINTER=n
>        CONFIG_SELF_TESTS=n
> @@ -129,6 +131,7 @@ eclair-ARM64-allcode:
>        CONFIG_ARM64_SVE=y
>        CONFIG_ARM_SMMU_V3=y
>        CONFIG_BOOT_TIME_CPUPOOLS=y
> +      CONFIG_DEBUG_INFO=n
>        CONFIG_DEBUG_LOCK_PROFILE=y
>        CONFIG_DEBUG_TRACE=y
>        CONFIG_DEVICE_TREE_DEBUG=y
> @@ -206,6 +209,7 @@ eclair-ARM64-amd:
>        CONFIG_ARM_SMMU_V3=y
>        CONFIG_EXPERT=y
>        CONFIG_DEBUG=y
> +      CONFIG_DEBUG_INFO=n
>        CONFIG_FRAME_POINTER=n
>        CONFIG_SELF_TESTS=n
>        CONFIG_DEBUG_LOCKS=n

-- 
Nicola Vetrini, B.Sc.
Software Engineer
BUGSENG (https://bugseng.com)
LinkedIn: https://www.linkedin.com/in/nicola-vetrini-a42471253