[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 5/6] argo: introduce CONFIG_ARGO_DEBUG
- To: "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>
- From: dmukhin@xxxxxxxx
- Date: Mon, 8 Jun 2026 18:13:45 -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=MRrojxxGYYEa+N5sbJ4O9mWQE+i4Rk/E94bUMf2ErLQ=; b=RvyLYbvvyMsH/UOHmy5Ucd1gUL808Ilh7S5yYacnWu7E5GXigAdKdrVRVoqZqaVvnyTIH3pAxQdEjIGAX8vu8owAiGqoSVy0wQ2lArfqL/SigNziJqfHJZAWa/jJ9vEnmNJONI9UN58iAWGhzMfPUdNlj+oHoEYi7kVshzGwXT6fC9gWBkWKHh45HFhiZqrk+uG9gqM/Iv0WaR+fD03z68k/Tv+FPJoUKT9eBmKHv4zbKDGehh4hAdafaNs/QhNEeBuCGsEAF4uTSyRjoV9GYBwqriWnKxdPo9Cdz8TyTy91QHEGsswPXDDlA45PB0fFDdOYR48k9wlrIqW+8RtFIQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=XqNiOUu1ChWjm+kzn5laY7Ehe0Jelgp7mo/t7GwsMT5Xlx8IyUShiNZcKdBfZGoV9E3Oa/KrhInI6tTYjr2NsVq8u8InhPpRn7Shb6sqvEfyLVUvRYzNniHuLPRW70MCBCZV7T0Y7FTeH0Ih3Z5KDrbBIx1U/PTdearR5FEw6NvExTSJatgen5lvcW4+yEuiF8g7epA1rokXn7XrChhGrvvauY+1xWH9vfUvs/RzBhTNpMe6rA0+aYLmSqVmH59cr9VMawTbLWcifPIUkH6cnmT2K1elgDaHM4SgHqNIXNfz/O3QDJifGvG5mqcHwigtRUg0NSVxMVkWyNclwE/9qA==
- Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=ppford header.d=ford.com header.i="@ford.com" header.h="Cc: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-Type: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-Type:Date:From:In-Reply-To:Message-ID:MIME-Version:References:Subject:To"
- Cc: dmukhin@xxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxxx, andrew.cooper3@xxxxxxxxxx, anthony.perard@xxxxxxxxxx, jbeulich@xxxxxxxx, julien@xxxxxxx, michal.orzel@xxxxxxx, roger.pau@xxxxxxxxxx, sstabellini@xxxxxxxxxx, christopher.w.clark@xxxxxxxxx
- Delivery-date: Tue, 09 Jun 2026 01:14:20 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Pser-m365-app: SER-APP
On Mon, Jun 08, 2026 at 04:10:15PM -0400, Daniel P. Smith wrote:
>
>
> On 5/26/26 5:58 PM, dmukhin@xxxxxxxx wrote:
> > From: Denis Mukhin <dmukhin@xxxxxxxx>
> >
> > Add Kconfig knob to enable traces for Argo debugging.
> >
> > Signed-off-by: Denis Mukhin <dmukhin@xxxxxxxx>
> > ---
> > Changes since v2:
> > - new patch
> > ---
> > xen/common/Kconfig | 7 +++++++
> > xen/common/argo.c | 3 +--
> > 2 files changed, 8 insertions(+), 2 deletions(-)
> >
> > diff --git a/xen/common/Kconfig b/xen/common/Kconfig
> > index 5ff71480eebe..adcdc51dd21b 100644
> > --- a/xen/common/Kconfig
> > +++ b/xen/common/Kconfig
> > @@ -491,6 +491,13 @@ 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.
> > +
> > + If unsure, say N.
> > +
> > 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 )
>
> Is a Kconfig really desired here? This such a trivial knob and one that is
> really only intended for tuning by the developers. Exposing it as a Kconfig
> option means you intend for this to be tuned by distro builders and wanting
> to see it exercised by the CI RandConfig.
Yes, something like this: parameterized CI (local) build variants.
With Kconfig facility present it is simple to enable extra verbose debug
builds.
--
Denis
|