summaryrefslogtreecommitdiffstats
path: root/tests/plugin/Makefile
diff options
context:
space:
mode:
authorAlex Bennée2019-05-20 17:14:44 +0200
committerAlex Bennée2019-10-28 16:12:38 +0100
commita208ba09bdcde1fd6b11793f3d76f3dd22792f87 (patch)
tree9267850325c6f133076bd45127047371960f63d9 /tests/plugin/Makefile
parenttests/tcg: enable plugin testing (diff)
downloadqemu-a208ba09bdcde1fd6b11793f3d76f3dd22792f87.tar.gz
qemu-a208ba09bdcde1fd6b11793f3d76f3dd22792f87.tar.xz
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 'tests/plugin/Makefile')
-rw-r--r--tests/plugin/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/plugin/Makefile b/tests/plugin/Makefile
index f9a3546ea3..e74940eaac 100644
--- a/tests/plugin/Makefile
+++ b/tests/plugin/Makefile
@@ -10,6 +10,7 @@ NAMES += bb
NAMES += empty
NAMES += insn
NAMES += mem
+NAMES += hotblocks
SONAMES := $(addsuffix .so,$(addprefix lib,$(NAMES)))