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

[PATCH v2 05/19] xen/sysctl: make CONFIG_TRACEBUFFER depend on CONFIG_SYSCTL


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Penny Zheng <Penny.Zheng@xxxxxxx>
  • Date: Wed, 26 Mar 2025 13:50:39 +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=TlzaRevyyzgJnBGygvCpqfER1aWr/DT0ER3WY6jD2QA=; b=iKLJa4SmtqhTUyt3UwOO2Jzq1z6EozTy1lKXlpZypZ41ohQi4JsF6irTWRA6nravfRR4GTc/BhLFxU+CPrC5xcXAGO9iIHwCTPxLCZEIOsShaDLMqozFYLknpx5M8bVpUBe3Dl+bLb9DoUOicbAH46UQYXZ5UCVVAJ5JqDXX1nt2YDd6yJBvB8+PkeRlsSLr7ODGU8zlPo7/cc+7Vj0nDKdeLHRoUOd7eO/XByzrTWQFMF/n/APnwEV3eYTUpvSrtiyzBYG4zBDDxwIHkR7lgC5imorNZszPNbrahr+3Eo0/wScO6LYEpPLz2hdb+M0b1p/QU5wp0FJJDEZFuH5NMA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=twYYG8E2QYKASZ6aSpshO09EWXsZynw5IM0eezNil9sTzKhOdfguNyDsXwMoxoRe0DHyDsFtiG+oN7kznuAtABzvpv7Da6y6ZD0EZ5CRtqPmW2oeScE3d0lHb+kmvX+9QXkIhnMcIapMJst5g1S2dZ4pefLggG5MuKI1hnJ3fG9xKA9fybCPajb/m/0/Udxv/o7l6XO9tYpzbvgMzTKD+8bOHQW4xXXQBRkTwwRzXZeT2IG0CAorQ4T68iQ47Dpd2nfymtdSe+CNx/joaF6n2JdoEvy0gnwMsPVFNblQ/Is8ZCEPQQb7Fq0lVBX/QODVQrz9z6KE6iY14kDb1wvOxQ==
  • 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: Wed, 26 Mar 2025 05:53:42 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Users could only access trace buffers via hypercal XEN_SYSCTL_tbuf_op,
so this commit makes 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 fe9303c7c1..5b55ca6eaa 100644
--- a/xen/common/Kconfig
+++ b/xen/common/Kconfig
@@ -513,6 +513,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
-- 
2.34.1




 


Rackspace

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