aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorJordan Niethe <[email protected]>2022-02-14 16:11:50 +0530
committerMichael Ellerman <[email protected]>2022-03-08 00:04:59 +1100
commit3a3fc9bf103974d9a886fa37087d5d491c806e00 (patch)
tree42d1dd32f6f1b049f524e9240a2ead63355cca70 /scripts/gdb/linux/utils.py
parent036d559c0bdea75bf4840ba6780790d08572480c (diff)
powerpc64/bpf: Store temp registers' bpf to ppc mapping
In bpf_jit_build_body(), the mapping of TMP_REG_1 and TMP_REG_2's bpf register to ppc register is evalulated at every use despite not changing. Instead, determine the ppc register once and store the result. Signed-off-by: Jordan Niethe <[email protected]> [Rebased, converted additional usage sites] Signed-off-by: Naveen N. Rao <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/0944e2f0fa6dd254ea401f1c946fb6c9a5294278.1644834730.git.naveen.n.rao@linux.vnet.ibm.com
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions