Skip to contentSkip to conversation

CI: disable debug info for analysis jobs

PATCH In review Jan Beulich 4 participants 5 messages May 20 – Jun 2

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 CI: disable debug info for analysis jobs

Its generating and linking takes time (and space), while at the same time Eclair should be entirely independent of its presence.

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

automation/gitlab-ci/analyze.yaml +4 -0
@@ -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
Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines · Jan Beulich

Its generating and linking takes time (and space), while at the same time Eclair should be entirely independent of its presence.

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

Quoted 36 lines

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

automation/gitlab-ci/analyze.yaml +4 -0
@@ -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
Signature · 4 lines
Nicola Vetrini, B.Sc.
Software Engineer
BUGSENG (https://bugseng.com)
LinkedIn: https://www.linkedin.com/in/nicola-vetrini-a42471253
#2 lore raw
Quoted 12 lines · Nicola Vetrini
Quoted 10 lines · Jan Beulich

Its generating and linking takes time (and space), while at the same time
Eclair should be entirely independent of its presence.

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

Quoted 7 lines

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

Stefano: Any chance of an ack?

Oleksii: Any chance of a release ack?

Thanks, Jan

Quoted 37 lines
Quoted 36 lines

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

automation/gitlab-ci/analyze.yaml +4 -0
@@ -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
#3 lore raw
Quoted 19 lines · Jan Beulich
Quoted 18 lines · Nicola Vetrini
Quoted 10 lines · Jan Beulich

Its generating and linking takes time (and space), while at the same time
Eclair should be entirely independent of its presence.

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

Quoted 5 lines
Quoted 1 line

Stefano: Any chance of an ack?

Oleksii: Any chance of a release ack?

Thanks.

~ Oleksii

#4 lore raw
In reply to Nicola Vetrini
Quoted 11 lines · Nicola Vetrini
Quoted 9 lines · Jan Beulich

Its generating and linking takes time (and space), while at the same time Eclair should be entirely independent of its presence.

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

Quoted 6 lines

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