diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2024-08-22 09:13:22 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2024-08-30 15:44:38 +0200 |
commit | e1bbcab496f745d963e43a6e0f669359e82c4934 (patch) | |
tree | ef746a10f9dc8ca8f673a1c3cc0937c8add2630f /tools/perf/scripts/python/gecko.py | |
parent | f8d92fc527ff0388b2e94c101afb0e5c7496199f (diff) |
selftests: vDSO: look for arch-specific function name in getrandom test
Don't hard-code x86 specific names. Rather, use vdso_config definitions
to find the correct function matching the architecture.
Add random VDSO function names in names[][]. Remove the #ifdef
CONFIG_VDSO32, as having the name there all the time is harmless and
guaranties a steady index for following strings.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
[Jason: add [6] to variable declaration rather than each usage site.]
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions