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

Viresh Kumar viresh.kumar@linaro.org
Tue Mar 9 05:05:51 CET 2021


On 08-03-21, 20:45, Li Wang wrote:
> 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?

Since you started it, I will let you finish it as well :)

Thanks.

-- 
viresh


More information about the ltp mailing list