|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] argo: introduce CONFIG_ARGO_DEBUG
commit 3c4e804607a5a1254b168d88572cb9ec311543a9
Author: Denis Mukhin <dmukhin@xxxxxxxx>
AuthorDate: Thu Jun 4 14:49:25 2026 -0700
Commit: Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Fri Jun 5 10:10:14 2026 +0200
argo: introduce CONFIG_ARGO_DEBUG
Add Kconfig knob to enable traces for Argo debugging.
Signed-off-by: Denis Mukhin <dmukhin@xxxxxxxx>
Reviewed-by: Jason Andryuk <jason.andryuk@xxxxxxx>
Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
Release-Acked-by: Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>
---
xen/common/Kconfig | 6 ++++++
xen/common/argo.c | 3 +--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/xen/common/Kconfig b/xen/common/Kconfig
index 5ff71480ee..79b7fa62e7 100644
--- a/xen/common/Kconfig
+++ b/xen/common/Kconfig
@@ -491,6 +491,12 @@ config ARGO
If unsure, say N.
+config ARGO_DEBUG
+ bool "Argo: enable debug traces (UNSUPPORTED)"
+ depends on 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 3c38a51d09..b9b362064e 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 )
--
generated by git-patchbot for /home/xen/git/xen.git#master
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |