]> git.baikalelectronics.ru Git - kernel.git/commit
kselftest: Extend vDSO selftest
authorVincenzo Frascino <vincenzo.frascino@arm.com>
Mon, 26 Oct 2020 11:49:42 +0000 (11:49 +0000)
committerShuah Khan <skhan@linuxfoundation.org>
Tue, 27 Oct 2020 23:57:08 +0000 (17:57 -0600)
commit41ee9b25d306afbba9679f2b4c3a44f5f64f9edf
tree189cc9514ed99186620341d67b29a6d2b5184b2b
parent3cb9d651e1ece6df09d78250e8fd347f2bc855b6
kselftest: Extend vDSO selftest

The current version of the multiarch vDSO selftest verifies only
gettimeofday.

Extend the vDSO selftest to the other library functions:
 - time
 - clock_getres
 - clock_gettime

The extension has been used to verify the unified vdso library on the
supported architectures.

Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/vDSO/Makefile
tools/testing/selftests/vDSO/vdso_config.h [new file with mode: 0644]
tools/testing/selftests/vDSO/vdso_test_abi.c [new file with mode: 0644]