aboutsummaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
authorPierrick Bouvier <pierrick.bouvier@linaro.org>2024-05-14 18:42:49 +0100
committerAlex Bennée <alex.bennee@linaro.org>2024-05-16 08:55:02 +0100
commit7de77d37880d7267a491cb32a1b2232017d1e545 (patch)
tree70d92e3875ebf046b953d163b1999310a30865b6 /io
parenta1c9bf2514d82b757288ee61584e667ddcb19a4f (diff)
downloadqemu-7de77d37880d7267a491cb32a1b2232017d1e545.zip
qemu-7de77d37880d7267a491cb32a1b2232017d1e545.tar.gz
qemu-7de77d37880d7267a491cb32a1b2232017d1e545.tar.bz2
plugins: conditional callbacks
Extend plugins API to support callback called with a given criteria (evaluated inline). Added functions: - qemu_plugin_register_vcpu_tb_exec_cond_cb - qemu_plugin_register_vcpu_insn_exec_cond_cb They expect as parameter a condition, a qemu_plugin_u64_t (op1) and an immediate (op2). Callback is called if op1 |cond| op2 is true. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-Id: <20240502211522.346467-6-pierrick.bouvier@linaro.org> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> [AJB: fix re-base conflict with tb_is_mem_only()] Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20240514174253.694591-8-alex.bennee@linaro.org>
Diffstat (limited to 'io')
0 files changed, 0 insertions, 0 deletions