OpenCloudOS-Kernel/tools/testing/selftests/timens
Christophe Leroy f56607e85e selftests/timens: Fix gettime_perf to work on powerpc
On powerpc:
- VDSO library is named linux-vdso32.so.1 or linux-vdso64.so.1
- clock_gettime is named __kernel_clock_gettime()

Ensure gettime_perf tries these names before giving up.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/469f37ab91984309eb68c0fb47e8438cdf5b6463.1617198956.git.christophe.leroy@csgroup.eu
2021-04-21 22:52:32 +10:00
..
.gitignore selftests/timens: add futex binary to .gitignore 2021-02-08 17:29:58 -07:00
Makefile selftests/timens: Add a test for futex() 2020-10-20 17:02:57 +02:00
clock_nanosleep.c selftests/timens: handle a case when alarm clocks are not supported 2020-05-22 13:29:55 -06:00
config selftests/timens: Add Time Namespace test for supported clocks 2020-01-14 12:21:00 +01:00
exec.c selftests/timens: Remove duplicated include <time.h> 2020-03-13 13:30:32 -06:00
futex.c selftests/timens: Add a test for futex() 2020-10-20 17:02:57 +02:00
gettime_perf.c selftests/timens: Fix gettime_perf to work on powerpc 2021-04-21 22:52:32 +10:00
log.h selftests/timens: Add Time Namespace test for supported clocks 2020-01-14 12:21:00 +01:00
procfs.c selftests/timens: added selftest for /proc/stat btime 2020-11-03 11:05:40 +01:00
timens.c selftests/timens: handle a case when alarm clocks are not supported 2020-05-22 13:29:55 -06:00
timens.h selftests/timens: handle a case when alarm clocks are not supported 2020-05-22 13:29:55 -06:00
timer.c selftests/timens: handle a case when alarm clocks are not supported 2020-05-22 13:29:55 -06:00
timerfd.c selftests/timens: handle a case when alarm clocks are not supported 2020-05-22 13:29:55 -06:00