[LTP] [PATCH] clock_gettime04: print more info to help debugging

Li Wang liwang@redhat.com
Mon Mar 8 13:45:40 CET 2021


Viresh Kumar <viresh.kumar@linaro.org> wrote:

...
>
> Option 3: Same as option 2 but different formatting
>
> clock_gettime04.c:158: TPASS: CLOCK_MONOTONIC: Difference between
> successive readings is reasonable for following variants:
>         - vDSO or syscall with libc spec
>         - syscall with old kernel spec
>         - vDSO with old kernel spec
>         - gettimeofday

Any other option here ?
>

I think no.

>
> For the FAIL messages, I think just adding tv->desc is good enough.
>

+1, I prefer to go with Option3 + 'tv->desc for FAIL'.

Would you mind formatting a patch, or I can do that?

-- 
Regards,
Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20210308/45e21897/attachment.htm>


More information about the ltp mailing list