[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 4/6] argo: fixup argo_dprintk()
- To: xen-devel@xxxxxxxxxxxxxxxxxxxx
- From: dmukhin@xxxxxxxx
- Date: Tue, 26 May 2026 14:58:21 -0700
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 205.220.161.53) 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=TYKMWBptyNTugkzl1Rf1mcoBPwr1cqpI/bXH+6shRHw=; b=JzGYjztRtq67VrEm6yYjABsjOXt+BtVEpl203x+uOniwYluO/JO5GklFUHLlP1sPxHIrWCRAlNTaZdo91X4JVX7FAkWyKRJ6SUuuaaC8a/JMQqGOlFHt7Aivk+tGiQceHEvxyEZ1lP8jekCYV0WOdBIfZ06tsP2m2YNCOIKm47nfnZOsptg4BCaU72n2oYP3oQlfyMB+5KnxseR58MBGHbkuNo9W8U1QAl/2fYs0tT915A8tHMw1495ZeBWU0S405D6lt3ZEBipnZevn20t3SW6M+SfY+Loa+uI1xP3hAmc9w1ODElY4mknqq3e43bee7rJg/t2apDPk67zycLkhJw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ChTxvQ9nPzz/8wLWcXhZZKceCbE17Rrm8W/0v0G0riY+E2WugxT+2rVVkPEK6FEM1PDANNKvdtGQQ5H6QwW8YJ6DkPaeOj0+nT0HFIlEgCIC2TTLdAwymyACC+VgUXtq790ciwGq1/ZAPsfhJ195/NV7I44Iab+xNEgW7e3YaAI9HRmgJOdtbP+jJhoU0i9pvf6NV7uGnkeT8UaUNdgwiNGMGqlZcGzUDIF8ZfL5/AbweYTRRKGiXHYR139wBHub9htl84AyJjoldc95oduCyjO2fObIHHBsZL6D5HMDyhABs40XM4Nadwr3Z87Rng3HSlGd0oA82HUNWYpHNCYyyQ==
- 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, christopher.w.clark@xxxxxxxxx, dpsmith@xxxxxxxxxxxxxxxxxxxx, dmukhin@xxxxxxxx
- Delivery-date: Tue, 26 May 2026 21:58:53 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Pser-m365-app: SER-APP
From: Denis Mukhin <dmukhin@xxxxxxxx>
Current argo_dprintk() implementation is a wrapper around raw printk().
Rewire it through gprintk() to allow for better debugging context
(such as domain ID).
Signed-off-by: Denis Mukhin <dmukhin@xxxxxxxx>
---
Changes since v2:
- new patch
---
xen/common/argo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xen/common/argo.c b/xen/common/argo.c
index ffa1f43437ab..3c38a51d09a2 100644
--- a/xen/common/argo.c
+++ b/xen/common/argo.c
@@ -322,7 +322,7 @@ static DEFINE_RWLOCK(L1_global_argo_rwlock); /* L1 */
#define argo_dprintk(fmt, args...) \
do { \
if ( ARGO_DEBUG ) \
- printk(XENLOG_DEBUG "argo: " fmt, ##args); \
+ gprintk(XENLOG_DEBUG, "argo: " fmt, ##args);\
} while ( 0 )
/*
--
2.54.0
|