aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-04-03 09:54:43 -1000
committerRichard Henderson <richard.henderson@linaro.org>2024-05-15 08:55:18 +0200
commitd3ace105900c43d1eb034b81ce0951e6110ab990 (patch)
tree180f5fe787b3da20b8bd262ee4c1392d16c62eab /include
parente501325991815e09297a048ffb0be81411bbe34a (diff)
downloadqemu-d3ace105900c43d1eb034b81ce0951e6110ab990.zip
qemu-d3ace105900c43d1eb034b81ce0951e6110ab990.tar.gz
qemu-d3ace105900c43d1eb034b81ce0951e6110ab990.tar.bz2
plugins: Use DisasContextBase for qemu_plugin_insn_haddr
We can delay the computation of haddr until the plugin actually requests it. Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/qemu/plugin.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/qemu/plugin.h b/include/qemu/plugin.h
index c28d0ca..da0f37e 100644
--- a/include/qemu/plugin.h
+++ b/include/qemu/plugin.h
@@ -99,7 +99,6 @@ struct qemu_plugin_dyn_cb {
/* Internal context for instrumenting an instruction */
struct qemu_plugin_insn {
uint64_t vaddr;
- void *haddr;
GArray *insn_cbs;
GArray *mem_cbs;
uint8_t len;
@@ -120,9 +119,6 @@ struct qemu_plugin_tb {
GPtrArray *insns;
size_t n;
uint64_t vaddr;
- uint64_t vaddr2;
- void *haddr1;
- void *haddr2;
/* if set, the TB calls helpers that might access guest memory */
bool mem_helper;