diff options
author | Ilya Leoshkevich <iii@linux.ibm.com> | 2025-06-24 14:04:27 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2025-07-01 12:36:51 -0700 |
commit | b2268d550d20ff860bddfe3a91b1aec00414689a (patch) | |
tree | 2da3b728fbad933d5fd6365918affff550692042 /tools/perf/scripts/python/gecko.py | |
parent | c4b1be928ea05add0e0f9334e5bc44932395782e (diff) |
s390/bpf: Centralize frame offset calculations
The calculation of the distance from %r15 to the caller-allocated
portion of the stack frame is copy-pasted into multiple places in the
JIT code.
Move it to bpf_jit_prog() and save the result into bpf_jit::frame_off,
so that the other parts of the JIT can use it.
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Link: https://lore.kernel.org/r/20250624121501.50536-2-iii@linux.ibm.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions