[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <874j7qm50y.fsf@nvidia.com>
Date: Mon, 12 Aug 2024 12:03:38 +0200
From: Petr Machata <petrm@...dia.com>
To: Jakub Kicinski <kuba@...nel.org>
CC: Petr Machata <petrm@...dia.com>, Mohsin Bashir <mohsin.bashr@...il.com>,
<netdev@...r.kernel.org>, <shuah@...nel.org>, <davem@...emloft.net>,
<edumazet@...gle.com>, <pabeni@...hat.com>, <willemb@...gle.com>,
<dw@...idwei.uk>, <przemyslaw.kitszel@...el.com>,
<linux-kselftest@...r.kernel.org>
Subject: Re: [PATCH net-next v2] selftests: net: py: support verbose
printing, display executed commands
Jakub Kicinski <kuba@...nel.org> writes:
> On Fri, 9 Aug 2024 14:36:17 +0200 Petr Machata wrote:
>> > + env_level = env.get('VERBOSE')
>> > + set_verbosity(env_level)
>> > +
>>
>> Actually, the ksft_setup() here was merged last week, and I think that
>> would be a better place to put this stuff. It already handles
>> DISRUPTIVE, it should IMHO handle VERBOSE as well.
>
> I was wondering about that too, FWIW, but the counter argument is that
> VERBOSE has little to do with ksft. It doesn't even include the #
> prefix on the list it outputs by itself (unlike ksft_pr() which does).
>
> Maybe we do as you suggest but rename verbose() to ksft_dbg() and
> make it act more like ksft_pr()?
That would make sense to me.
Powered by blists - more mailing lists