diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2024-04-03 09:54:43 -1000 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2024-05-15 08:55:18 +0200 |
| commit | d3ace105900c43d1eb034b81ce0951e6110ab990 (patch) | |
| tree | 180f5fe787b3da20b8bd262ee4c1392d16c62eab /include/qemu/plugin.h | |
| parent | e501325991815e09297a048ffb0be81411bbe34a (diff) | |
| download | focaccia-qemu-d3ace105900c43d1eb034b81ce0951e6110ab990.tar.gz focaccia-qemu-d3ace105900c43d1eb034b81ce0951e6110ab990.zip | |
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/qemu/plugin.h')
| -rw-r--r-- | include/qemu/plugin.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/qemu/plugin.h b/include/qemu/plugin.h index c28d0ca31c..da0f37e269 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; |