summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAnton Protopopov <a.s.protopopov@gmail.com>2025-11-05 12:04:05 +0300
committerAlexei Starovoitov <ast@kernel.org>2025-11-06 04:53:22 +0300
commit5bef46ac9c574d6d37d53dd802f7dbf677141fc2 (patch)
tree3361c5749f8119358079a28dd8f79d1f55fe848c /tools/perf/scripts/python
parentae48162a667b79fba19296e5f2ee4d6602c809f5 (diff)
downloadlinux-5bef46ac9c574d6d37d53dd802f7dbf677141fc2.tar.xz
bpf, x86: allow indirect jumps to r8...r15
Currently the emit_indirect_jump() function only accepts one of the RAX, RCX, ..., RBP registers as the destination. Make it to accept R8, R9, ..., R15 as well, and make callers to pass BPF registers, not native registers. This is required to enable indirect jumps support in eBPF. Signed-off-by: Anton Protopopov <a.s.protopopov@gmail.com> Acked-by: Eduard Zingerman <eddyz87@gmail.com> Link: https://lore.kernel.org/r/20251105090410.1250500-8-a.s.protopopov@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions