[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v5 05/18] xen/sysctl: make CONFIG_TRACEBUFFER depend on CONFIG_SYSCTL
- To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Penny Zheng <Penny.Zheng@xxxxxxx>
- Date: Mon, 16 Jun 2025 14:41:15 +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=30rk0j5lpGbWOdYBsFmDDdDPGEoAQD+DekB96/2T3ls=; b=b9iXDyeWayOphPyIBZFuMP4jAW9pxmeh5YddyZuwqjQGuGvgyhzM3w9DJ5NZQCEnhh/brLn29JDU+gAEP9AU3iplNOCGJ4+7Yp0aaWFag9hZD4unv8O3ZxOtMY+emA/W4N6Niw1370m600Ls6xMDa3aPsaQ2C8a0GIVaPlPZbc/y2O8SmOpfMS76X8txnzYFEV9cGHmQX8OumpDiD9dPtX3+jle/qOdyDmIBRwCGi/gMGd2BpVLjklnmYjMPxxub2VdMdj9tNj0vEU+aTuuGjz2xgdqOmo1aMRsPk9LCBM0xbJ8XXHGGIayBPQOPi0rari5lTDZhlg16JpkWvtRqaw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=LHP8c6xltoivktzM5tyfbrozM1fc2rRGKmKhQj/FrNXXRllundcAnT25XAGa8gXWh2Rj6wKOyqh1vdtxaJODJKGeaarRB7rrPXr77ajClmLa8kY0qg2FsX6c/kpz+QvFOk2QnKfm64tSimRjFFMMcXoRCzIYueqm6s9UE7A+JLW/vomekJbqDivuluja/p0+iH+O7/vFVaBU88ckNmiqrXWUCCFUn3wVIGBXLZ5MGhSOlP3QvAPbSI9odQF9U/RACUALVLG7bMpKPDrA3Yu+ZzMiyNCcPxOpggsMNSrueczawJgUqDAD0z8byeAF5jIwpLl59F4Tor7iJ7M/dgBPdg==
- 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, 16 Jun 2025 06:42:21 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
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
--
2.34.1
|