On 2/12/24 23:39, Pierrick Bouvier wrote:
Extends API with three new functions:
qemu_plugin_register_vcpu_{tb, insn, mem}_exec_inline_per_vcpu().

Those functions takes a qemu_plugin_u64_t as input.

This allows to have a thread-safe and type-safe version of inline
operations.

Reviewed-by: Alex Bennée<[email protected]>
Signed-off-by: Pierrick Bouvier<[email protected]>
---
  include/qemu/plugin.h        |  1 +
  include/qemu/qemu-plugin.h   | 51 +++++++++++++++++++++++++++++++++++-
  plugins/plugin.h             |  6 +++++
  accel/tcg/plugin-gen.c       |  7 +++++
  plugins/api.c                | 37 +++++++++++++++++++++++++-
  plugins/core.c               | 23 ++++++++++++++++
  plugins/qemu-plugins.symbols |  3 +++
  7 files changed, 126 insertions(+), 2 deletions(-)

Reviewed-by: Richard Henderson <[email protected]>

r~

Reply via email to