[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 11/22] tests/tcg/plugins/insn: remove unused callback parameter
From: |
Alex Bennée |
Subject: |
[PATCH 11/22] tests/tcg/plugins/insn: remove unused callback parameter |
Date: |
Thu, 9 Jan 2025 17:06:08 +0000 |
From: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-Id: <20241217224306.2900490-2-pierrick.bouvier@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
tests/tcg/plugins/insn.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/tests/tcg/plugins/insn.c b/tests/tcg/plugins/insn.c
index baf2d07205..0c723cb9ed 100644
--- a/tests/tcg/plugins/insn.c
+++ b/tests/tcg/plugins/insn.c
@@ -150,10 +150,8 @@ static void vcpu_tb_trans(qemu_plugin_id_t id, struct
qemu_plugin_tb *tb)
qemu_plugin_register_vcpu_insn_exec_inline_per_vcpu(
insn, QEMU_PLUGIN_INLINE_ADD_U64, insn_count, 1);
} else {
- uint64_t vaddr = qemu_plugin_insn_vaddr(insn);
qemu_plugin_register_vcpu_insn_exec_cb(
- insn, vcpu_insn_exec_before, QEMU_PLUGIN_CB_NO_REGS,
- GUINT_TO_POINTER(vaddr));
+ insn, vcpu_insn_exec_before, QEMU_PLUGIN_CB_NO_REGS, NULL);
}
if (do_size) {
--
2.39.5
- Re: [PATCH 08/22] system/vl: more error exit into config enumeration code, (continued)
[PATCH 11/22] tests/tcg/plugins/insn: remove unused callback parameter,
Alex Bennée <=
[PATCH 22/22] accel/tcg: also suppress asynchronous IRQs for cpu_io_recompile, Alex Bennée, 2025/01/09
[PATCH 17/22] contrib/plugins/hotblocks: fix 32-bit build, Alex Bennée, 2025/01/09
[PATCH 15/22] contrib/plugins/stoptrigger: fix 32-bit build, Alex Bennée, 2025/01/09
[PATCH 20/22] contrib/plugins/hotpages: fix 32-bit build, Alex Bennée, 2025/01/09
[PATCH 21/22] configure: reenable plugins by default for 32-bit hosts, Alex Bennée, 2025/01/09
[PATCH 19/22] contrib/plugins/hwprofile: fix 32-bit build, Alex Bennée, 2025/01/09
[PATCH 18/22] contrib/plugins/cflow: fix 32-bit build, Alex Bennée, 2025/01/09