[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v6 04/18] xen/sysctl: make CONFIG_TRACEBUFFER depend on CONFIG_SYSCTL
- To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Penny Zheng <Penny.Zheng@xxxxxxx>
- Date: Fri, 4 Jul 2025 17:29:38 +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=ssUTmAJTKCZPlJdWut365YvFtd/7zgZoc3ElXT6MSystRUTFP+0zJ5ExxsiUmw7Pne+6YXPv+ghgQicdXCaCRiDar8hdAqaKO7WJalNa2nP4TzqDQ477gDXnrbkLnK9NEg67XYldNf1nqmYHj3S7QNkTigusIKmoQwwNpotifzlbDzQiAX2lC+rWFWS9wGKRorZjnxNRMEZwFHGR8qYB+imFgcuVQnadyAFK7Sul6zBSQqBX0PtMhWJ7lQiZlcjfw3umAFqV8KC4grkGvRSiJ69Wt2iNywJxRn3k3RaxgDbRzugY3QbHqVHPYCbrVnnD6gt3IZjKKQfjxFRat3mNdQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=JmFdAK5lIjFGhkuJLVjbwZMU96s+OuKLO5Txbnl1tnhPzfx4UQDA33kw7yczzgZEivrYinb3/06xwG0iq+vcFUhK/QZDbWTbs7IQbBZ5+iJ1jwOdjk2pew+q1SphnzAKGVLJ9Er43TSdaQrjpgHxMWjqh3Bc2ITzMQtZoE575FSfhDMjvThQGkhRogehFE8CgMW/eLwfwpNRMZyiBYY35CROmDHd/IiTTR/SxZdusTbi8S+JeSYPKa6l/adtf/4HgYP45IWIx7g2UjJGGbNkG9qNgKXpiIjtl77smQRhO0FLgMlOgnah4sC+V9zQUj+LZO5QkllrZ3U/7KAfpDJq5g==
- 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: Fri, 04 Jul 2025 09:30:31 +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
|