summary refs log tree commit diff stats
path: root/python/qemu/qtest.py
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2019-05-20 16:14:44 +0100
committerAlex Bennée <alex.bennee@linaro.org>2019-10-28 15:12:38 +0000
commita208ba09bdcde1fd6b11793f3d76f3dd22792f87 (patch)
tree9267850325c6f133076bd45127047371960f63d9 /python/qemu/qtest.py
parent3089e74e6710ee531dd961cbc373718f99e74afc (diff)
downloadfocaccia-qemu-a208ba09bdcde1fd6b11793f3d76f3dd22792f87.tar.gz
focaccia-qemu-a208ba09bdcde1fd6b11793f3d76f3dd22792f87.zip
tests/plugin: add a hotblocks plugin
This is a simple plugin to track which translation blocks are call
most often. As we don't have a view of the internals of TCG we can
only work by the address of the start of the block so we also need to
tracks how often the address is translated.

As there will be multiple blocks starting at the same address. We can
try and work around this by futzing the value to feed to the hash with
the insn count.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'python/qemu/qtest.py')
0 files changed, 0 insertions, 0 deletions