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.


Reply via email to