summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2015-10-28 08:45:37 +0000
committerAlex Shi <alex.shi@linaro.org>2016-11-09 22:15:43 +0800
commit6552c0046751e0da63df9799060a82b1012c09b8 (patch)
tree6ae43e3766d26ca05a94c4e2c89bb1f2690e79b5 /tools/perf/scripts/python
parent7b9a94b384beb4665876848afa0bb0e026a03e99 (diff)
arm64: KVM: Add patchable function selector
KVM so far relies on code patching, and is likely to use it more in the future. The main issue is that our alternative system works at the instruction level, while we'd like to have alternatives at the function level. In order to cope with this, add the "hyp_alternate_select" macro that outputs a brief sequence of code that in turn can be patched, allowing an alternative function to be selected. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> (cherry picked from commit c1bf6e18e97e7ead77371d4251f8ef1567455584) Signed-off-by: Alex Shi <alex.shi@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions