[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240820182147.462226f2@kernel.org>
Date: Tue, 20 Aug 2024 18:21:47 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Hangbin Liu <liuhangbin@...il.com>
Cc: davem@...emloft.net, netdev@...r.kernel.org, edumazet@...gle.com,
pabeni@...hat.com, shuah@...nel.org, linux-kselftest@...r.kernel.org, Ido
Schimmel <idosch@...sch.org>
Subject: Re: [PATCH net-next v2] selftests: net: add helper for checking if
nettest is available
On Tue, 20 Aug 2024 08:44:12 -0700 Jakub Kicinski wrote:
> On Tue, 20 Aug 2024 11:18:47 +0800 Hangbin Liu wrote:
> > Excuse me, what's profile used here? I can't find the definition in
> > Documentation/dev-tools/kselftest.rst.
>
> Ah, sorry, I added timestamping output as a local patch for NIPA.
To be clear the profile=1 enables the timestamps from my local patch
> Random example:
>
> TAP version 13
> 1..1
> # overriding timeout to 7200
> # selftests: net: amt.sh
> # 13.15 [+13.15] TEST: amt discovery [ OK ]
> # 16.27 [+3.12] TEST: IPv4 amt multicast forwarding [ OK ]
> # 19.14 [+2.86] TEST: IPv6 amt multicast forwarding [ OK ]
> # 670.88 [+651.74] TEST: IPv4 amt traffic forwarding torture [ OK ]
> # 1203.28 [+532.40] TEST: IPv6 amt traffic forwarding torture [ OK ]
> ok 1 selftests: net: amt.sh
>
> It's not great, makes the lines longer and misaligned.
> But it's helpful for debugging slow tests.
Powered by blists - more mailing lists