diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2024-12-03 20:44:52 +0100 |
---|---|---|
committer | Madhavan Srinivasan <maddy@linux.ibm.com> | 2025-02-26 21:09:43 +0530 |
commit | f50b45626e053dc10792c680cabbbadbf8c001e7 (patch) | |
tree | c50103c73eec328ae286062b3a18f9a36dbae4d6 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 6626f98ed55a7a20b1852e7d263a96d8f5a1b59f (diff) |
powerpc/static_call: Implement inline static calls
Implement inline static calls:
- Put a 'bl' to the destination function ('b' if tail call)
- Put a 'nop' when the destination function is NULL ('blr' if tail call)
- Put a 'li r3,0' when the destination is the RET0 function and not
a tail call.
If the destination is too far (over the 32Mb limit), go via the
trampoline.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/3dbd0b2ba577c942729235d0211d04a406653d81.1733245362.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions