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

[PATCH v3 05/20] xen/sysctl: make CONFIG_TRACEBUFFER depend on CONFIG_SYSCTL


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Penny Zheng <Penny.Zheng@xxxxxxx>
  • Date: Mon, 21 Apr 2025 15:37:08 +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=hilgACvHl4Syp1ch7k42+lgpwN4ZWXDPUPo+Y2KEs6A=; b=lpsNgkEF6UVj9M9Z2RC6XGPn143jLiVxSb0Xez8jFSQAAxOOFXTUYJT/FNk0aO7bZiGwYDwn+Qf9pkZEOlNZgQjkSaTAZuUNXGJ3uwS7RWZFqQUwYtOBjH7mP+uyLp+ji8eLmubVlBFw6h0cLuqvsSFfJFXtvxlQqVzedVNOf8Iz4H4WgBB9O8CDiGoSLBco6RIrmlRKgrpZzwQw5qBTOg51Y27kvUqkABhLlxM4jrEiCcybrq8NB4Y1s3izHC4uE+0UR9W9B2/Y4ReyM6Dxitre8dph+HlEDUmxK1bIHIIJA+HLeiQ/jBtTfutNjIYbGS+i8rX8gzlltKLictseQA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=lYe3Nu3Pe/Y/iGxyZfhfQUPpneQ+sjrPWdpKOhkqfRiACYdGAthQxo61yAIvXv3z86hpuVmi/YSPE3FucVP2BCsTYCEPbM35801+8uVmD7srUgl5pACg5kE2IMNkWRi+HkGFgu0c/J5U8bBe5gIR0rQfrTGMJK6qNbeUUoS38K6sK5gvwA9t3T9bOS75BaoxHpfpg9GfJWeph3Baea7mm+UKlFNaUkKugopzILGifHwJpFLJJGdY06T2eoIkPpSRqDEvP2IiMEl07bwkxZ/O3c1WSFq1jmWqghHiLTo3DShnwhws/V1ZA+ZGH86NVvCTYBeYPGBXkhVN1pf0CDYmXw==
  • 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, 21 Apr 2025 07:38:08 +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 d89e9ede77..9cccc37232 100644
--- a/xen/common/Kconfig
+++ b/xen/common/Kconfig
@@ -549,6 +549,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®.