mbox series

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

Message ID 20211203144421.1445232-1-alex.bennee@linaro.org
Headers show
Series insn plugin tweaks for measuring frequency | expand

Message

Alex Bennée Dec. 3, 2021, 2:44 p.m. UTC
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(-)