]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/timens: Fix gettime_perf to work on powerpc
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Wed, 31 Mar 2021 13:59:17 +0000 (13:59 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 21 Apr 2021 12:52:32 +0000 (22:52 +1000)
commit232aafd20f97d5f2167acdfe0138675921129bd5
treefb926036caf49d05db251b6832213b68a2b6782b
parent201dd4d3d2ec5a7f4bedf5a336feced4a1fca15f
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
tools/testing/selftests/timens/gettime_perf.c