[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v3 17/20] xen/sysctl: make CONFIG_COVERAGE depend on CONFIG_SYSCTL


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Penny Zheng <Penny.Zheng@xxxxxxx>
  • Date: Mon, 21 Apr 2025 15:37:20 +0800
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=N0coEvbNIv0VbAslUDsH+eGX4i+dWXPk3ASTSHLtwxU=; b=ZMvjQzFTa+3anupjl4L0gmJdS5xib1cdPvTppcYkVZgwYe9YTea62ImPgfred1P6xHvH/rBPuXduageU2PkBoDmIcfWtufW7WfJ8sbQyIVw7JnG5GjwhbVnLqw9fG5PujfRTnOpx61+FRVKsof1m3oWp7D4saIoNtDDodvjW/vV0lu2tGRJw7qLBuU/1WN/Ky8XKnH5Buih5rmHPpC4fF5IsV4bWp6zHtF2Dz9doKWRybpnfNGzwPmw8XSRX+Ff0yfgUVBhY3VgUNOtieCQPqONUfNnJQ4mM3h/+sIGx9tjZCznQAXokPH7hnWoU4iiMKgCsIGHuw4zgfVxG0o9a0Q==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=YtT4ELWSd9huXwW75KTVR22+C9q+hRzjGCeuP0PPXbMSrUz4894wXOosK4OM0SXP6gscuH7t2EWDkl0s1h+SZ12C4UBciHiouH5WZtt/whojNyBUT8ZL9i0lDaDAR9vj4O5xu1mzmFjrDXh6pWJw7xJFRreeCc22Ik4dhwNcx49SQ6P7Sjf9M0pyetslrTPal2Jo4Fu6r9vibHgD69FAhg71wRCfneK+KguZ0VODzR1c2Czu7z927/7tJUieobxwoVGSF2fQtB5XQbNaqFrVnGszw8I1bU2+kbp9CGIm1uI8HMJeRBjrNP0exn5CnUieWwIrEOBpGppKFUqQAfc8LQ==
  • Cc: <ray.huang@xxxxxxx>, Penny Zheng <Penny.Zheng@xxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, "Julien Grall" <julien@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • Delivery-date: Mon, 21 Apr 2025 07:41:51 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

All coverage-related op shall be wrapped around with CONFIG_SYSCTL,
so this commit makes CONFIG_COVERAGE depend on CONFIG_SYSCTL.

Signed-off-by: Penny Zheng <Penny.Zheng@xxxxxxx>
Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
---
v1 -> v2:
- commit message refactor
---
 xen/Kconfig.debug | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/Kconfig.debug b/xen/Kconfig.debug
index f7cc5ffaab..84d26b3f46 100644
--- a/xen/Kconfig.debug
+++ b/xen/Kconfig.debug
@@ -37,7 +37,7 @@ config SELF_TESTS
 
 config COVERAGE
        bool "Code coverage support"
-       depends on !LIVEPATCH
+       depends on !LIVEPATCH && SYSCTL
        select SUPPRESS_DUPLICATE_SYMBOL_WARNINGS if !ENFORCE_UNIQUE_SYMBOLS
        help
          Enable code coverage support.
-- 
2.34.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.