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

[xen staging] xen/sysctl: make CONFIG_COVERAGE depend on CONFIG_SYSCTL



commit a31a59beca78bf80611ba4eb25f17277c8ea37ee
Author:     Penny Zheng <Penny.Zheng@xxxxxxx>
AuthorDate: Mon Jun 30 10:04:20 2025 +0200
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Mon Jun 30 10:04:20 2025 +0200

    xen/sysctl: make CONFIG_COVERAGE depend on CONFIG_SYSCTL
    
    Users rely on SYSCTL_coverage_op hypercall to interact with the coverage 
data,
    that is, according operations shall be wrapped around with CONFIG_SYSCTL.
    Right now, it is compiled under CONFIG_COVERAGE, so we shall make
    CONFIG_COVERAGE depend on CONFIG_SYSCTL.
    
    Signed-off-by: Penny Zheng <Penny.Zheng@xxxxxxx>
    Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
---
 xen/Kconfig.debug | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/Kconfig.debug b/xen/Kconfig.debug
index d14093017e..38a134fa3b 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 SYSCTL && !LIVEPATCH
        select SUPPRESS_DUPLICATE_SYMBOL_WARNINGS if !ENFORCE_UNIQUE_SYMBOLS
        help
          Enable code coverage support.
--
generated by git-patchbot for /home/xen/git/xen.git#staging



 


Rackspace

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