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

[PATCH v4 5/6] argo: introduce CONFIG_ARGO_DEBUG


  • To: xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: dmukhin@xxxxxxxx
  • Date: Tue, 2 Jun 2026 23:05:38 -0700
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 148.163.138.245) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=ford.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=ford.com; dkim=pass (signature was verified) header.d=saarlouis.ford.com; dkim=pass (signature was verified) header.d=ford.com; 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=QVhRRlXhqga0d0SY3/s1wrhoZ/QaLSRtH7SAQWsQUj4=; b=A8PBmpC7svIuUhghiXcu7VhTlxjUA/XBZxdOZdPjhb4AoAkl3ttZ3p6MYQU5IR+rHHpOHTmSFXNeV8FvyOGvSR6E5JDu/RbAZ8rGjtyinvOZUiJ07dfJZTNW86TUe/wrnuXQ/kS0B8scknFsb9uYAIaMGzNP0BROGo6bm+IwX0k+BSyxwF1JlijzN4NGRxxxkOwSrs6n0KNYV67xRFz2jHEyIUryylW2u3mDpCEfaYJ1lnpgTNgf05q+sNKsPY7BqtU1PSWKq4K6JKr8b5oM/L1OIjZmeduBGtg8gid9xr6AKMdD8akzzJEpLB9pQ7Xza0n7IqRqvnXCmAl6mTelYQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=yEDOF8Atbpekazp13VYPad7sKbYDVvx7cAnIvVcBFvL/NVhGs2eIvXOSs+zInQosWsGWBNEbSofXblRSG6WXIEJRa1eACbPghMQyjJ+1P4mvU8hrwzRe4Ks+hRp+vw6gSVLrVe5rnWwnCgMIlAAOApktKM2PpetRCX9MpuZy4esxeWwj0T6AaxLjzUV8HYBogjLFzy1BA+hfzyTRcEkHt6I/ChS843laQaOxTW8dB8PYlG6HpUkR9rd6PieTfu+K+KnRCF3gjXtQZ15Q8zjvEl0cz/qs/ZDK1vNIriL45x/n21+XaLjmK3WbtBolN8s86JTC+Z16S29yr8C8QBO6Nw==
  • Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=ppford header.d=ford.com header.i="@ford.com" header.h="Cc:Content-Transfer-Encoding:Content-Type:Date:From:In-Reply-To:Message-ID:MIME-Version:References:Subject:To"; dkim=pass header.s=selector2-azureford-onmicrosoft-com header.d=azureford.onmicrosoft.com header.i="@azureford.onmicrosoft.com" header.h="From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck"; dkim=pass header.s=ppserprodsaar header.d=saarlouis.ford.com header.i="@saarlouis.ford.com" header.h="Cc:Content-Transfer-Encoding:Date:From:In-Reply-To:Message-ID:MIME-Version:References:Subject:To"; dkim=pass header.s=ppfserpocford header.d=ford.com header.i="@ford.com" header.h="Cc:Content-Transfer-Encoding:Date:From:In-Reply-To:Message-ID:MIME-Version:References:Subject:To"
  • Cc: andrew.cooper3@xxxxxxxxxx, anthony.perard@xxxxxxxxxx, jbeulich@xxxxxxxx, julien@xxxxxxx, michal.orzel@xxxxxxx, roger.pau@xxxxxxxxxx, sstabellini@xxxxxxxxxx, dmukhin@xxxxxxxx
  • Delivery-date: Wed, 03 Jun 2026 06:06:08 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Pser-m365-app: SER-APP

Add Kconfig knob to enable traces for Argo debugging.

Signed-off-by: Denis Mukhin <dmukhin@xxxxxxxx>
---
Changes since v3:
- dropped uneeded "If unsure, say N." from new Kconfig description
---
 xen/common/Kconfig | 5 +++++
 xen/common/argo.c  | 3 +--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/xen/common/Kconfig b/xen/common/Kconfig
index 5ff71480eebe..17ae01265ced 100644
--- a/xen/common/Kconfig
+++ b/xen/common/Kconfig
@@ -491,6 +491,11 @@ config ARGO
 
          If unsure, say N.
 
+config ARGO_DEBUG
+       bool "Argo: enable debug traces (UNSUPPORTED)" if ARGO
+       help
+         Enables extra debug traces for Argo debugging.
+
 source "common/sched/Kconfig"
 
 config CRYPTO
diff --git a/xen/common/argo.c b/xen/common/argo.c
index 3c38a51d09a2..b9b362064e7e 100644
--- a/xen/common/argo.c
+++ b/xen/common/argo.c
@@ -318,10 +318,9 @@ static DEFINE_RWLOCK(L1_global_argo_rwlock); /* L1 */
     ((LOCKING_Read_L1 && spin_is_locked(&(d)->argo->send_L2_lock)) || \
      LOCKING_Write_L1)
 
-#define ARGO_DEBUG 0
 #define argo_dprintk(fmt, args...)                      \
     do {                                                \
-        if ( ARGO_DEBUG )                               \
+        if ( IS_ENABLED(CONFIG_ARGO_DEBUG) )            \
             gprintk(XENLOG_DEBUG, "argo: " fmt, ##args);\
     } while ( 0 )
 
-- 
2.54.0




 


Rackspace

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