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

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



commit 1d62a36aaa0273fbd61e774a736cd9e2423d906b
Author:     Penny Zheng <Penny.Zheng@xxxxxxx>
AuthorDate: Mon Jun 30 10:02:12 2025 +0200
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Mon Jun 30 10:02:12 2025 +0200

    xen/sysctl: make CONFIG_TRACEBUFFER depend on CONFIG_SYSCTL
    
    Users could only access trace buffers via hypercall XEN_SYSCTL_tbuf_op,
    so we shall make CONFIG_TRACEBUFFER depend on CONFIG_SYSCTL
    
    Signed-off-by: Penny Zheng <Penny.Zheng@xxxxxxx>
    Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
---
 xen/common/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/xen/common/Kconfig b/xen/common/Kconfig
index fb5c60517a..dbd9747d1f 100644
--- a/xen/common/Kconfig
+++ b/xen/common/Kconfig
@@ -564,6 +564,7 @@ config DTB_FILE
 config TRACEBUFFER
        bool "Enable tracing infrastructure" if EXPERT
        default y
+       depends on SYSCTL
        help
          Enable tracing infrastructure and pre-defined tracepoints within Xen.
          This will allow live information about Xen's execution and performance
--
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®.