On Tue, Apr 16, 2019 at 05:14:34PM +0100, Vincenzo Frascino wrote: > The current version of the multiarch vDSO selftest verifies only > gettimeofday. > > Extend the vDSO selftest to clock_getres, to verify that the > syscall and the vDSO library function return the same information. > > The extension has been used to verify the hrtimer_resoltion fix. > > Cc: Shuah Khan <shuah@xxxxxxxxxx> > Signed-off-by: Vincenzo Frascino <vincenzo.frascino@xxxxxxx> > --- > tools/testing/selftests/vDSO/Makefile | 2 + > .../selftests/vDSO/vdso_clock_getres.c | 108 ++++++++++++++++++ > 2 files changed, 110 insertions(+) > create mode 100644 tools/testing/selftests/vDSO/vdso_clock_getres.c Assuming this will go via Shuah's tree. Will