summaryrefslogtreecommitdiffstats
path: root/tests/plugin
Commit message (Collapse)AuthorAgeFilesLines
* tests/plugin: add hotpages to analyse memory access patternsAlex Bennée2019-10-282-0/+192
| | | | | | | | This plugin gives a summary of access patterns grouped by "pages" and showing read/write patterns by vCPUS. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
* tests/plugin: add instruction execution breakdownAlex Bennée2019-10-282-0/+353
| | | | | | | | This gives a break down of instruction classes and individual instruction types. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
* tests/plugin: add a hotblocks pluginAlex Bennée2019-10-282-0/+144
| | | | | | | | | | | | | | 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>
* tests/plugin: add sample pluginsEmilio G. Cota2019-10-285-0/+280
Pass arguments with -plugin=libfoo.so,arg=bar,arg=baz Signed-off-by: Emilio G. Cota <cota@braap.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>