[RFC PATCH 0/2] insn plugin tweaks for measuring frequency

Alex Bennée posted 2 patches 2 years, 4 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20211203144421.1445232-1-alex.bennee@linaro.org
tests/plugin/insn.c | 125 +++++++++++++++++++++++++++++++++++++++++---
1 file changed, 117 insertions(+), 8 deletions(-)
[RFC PATCH 0/2] insn plugin tweaks for measuring frequency
Posted by Alex Bennée 2 years, 4 months ago
Hi,

This series was prompted by yesterdays email thread:

  Subject: Suggestions for TCG performance improvements
  Date: Thu, 2 Dec 2021 09:47:13 +0000
  Message-ID: <c76bde31-8f3b-2d03-b7c7-9e026d4b5873@huawei.com>

which made me think if we could leverage the TCG plugins to measure
how frequently we these flush events happen. My initial measurements
with a Debian arm64 system indicate we do some sort of tlbi
instruction every 47 thousand instructions.

Alex Bennée (2):
  tests/plugin: allow libinsn.so per-CPU counts
  tests/plugins: add instruction matching to libinsn.so

 tests/plugin/insn.c | 125 +++++++++++++++++++++++++++++++++++++++++---
 1 file changed, 117 insertions(+), 8 deletions(-)

-- 
2.30.2