diff options
author | 2024-08-23 01:06:43 -0700 | |
---|---|---|
committer | 2024-08-23 07:29:02 -0700 | |
commit | c52a1e6eb74ffe4f217e9b53ed75440a45b08c4c (patch) | |
tree | 3e175f766146311b759b6da87e1d47466064fcd3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | selftests/bpf: test_loader.c:get_current_arch() should not return 0 (diff) | |
download | wireguard-linux-c52a1e6eb74ffe4f217e9b53ed75440a45b08c4c.tar.xz wireguard-linux-c52a1e6eb74ffe4f217e9b53ed75440a45b08c4c.zip |
selftests/bpf: match both retq/rethunk in verifier_tailcall_jit
Depending on kernel parameters, x86 jit generates either retq or jump
to rethunk for 'exit' instruction. The difference could be seen when
kernel is booted with and without mitigations=off parameter.
Relax the verifier_tailcall_jit test case to match both variants.
Fixes: e5bdd6a8be78 ("selftests/bpf: validate jit behaviour for tail calls")
Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20240823080644.263943-3-eddyz87@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions