aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/vDSO/vdso_test_getcpu.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2020-05-22selftests: vdso: Add a selftest for vDSO getcpu()Mark Brown1-0/+54
Provide a very basic selftest for getcpu() which similarly to our existing test for gettimeofday() looks up the function in the vDSO and prints the results it gets if the function exists and succeeds. Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>