[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 11/37] tests/tcg/plugins/insn: remove unused callback paramete
From: |
Alex Bennée |
Subject: |
[PATCH v2 11/37] tests/tcg/plugins/insn: remove unused callback parameter |
Date: |
Tue, 14 Jan 2025 11:37:55 +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
- [PATCH v2 25/37] plugins: enable linking with clang/lld, (continued)
- [PATCH v2 25/37] plugins: enable linking with clang/lld, Alex Bennée, 2025/01/14
- [PATCH v2 26/37] plugins: fix kdoc annotation, Alex Bennée, 2025/01/14
- [PATCH v2 35/37] docs: add a codebase section, Alex Bennée, 2025/01/14
- [PATCH v2 10/37] system: propagate Error to gdbserver_start (and other device setups), Alex Bennée, 2025/01/14
- [PATCH v2 14/37] tests/tcg/plugins/mem: fix 32-bit build, Alex Bennée, 2025/01/14
- [PATCH v2 36/37] docs: add a glossary, Alex Bennée, 2025/01/14
- [PATCH v2 13/37] tests/tcg/plugins/syscall: fix 32-bit build, Alex Bennée, 2025/01/14
- [PATCH v2 33/37] docs/devel: add b4 for patch retrieval, Alex Bennée, 2025/01/14
- [PATCH v2 16/37] contrib/plugins/cache: fix 32-bit build, Alex Bennée, 2025/01/14
- [PATCH v2 11/37] tests/tcg/plugins/insn: remove unused callback parameter,
Alex Bennée <=
- [PATCH v2 37/37] scripts/nsis.py: Run dependency check for each DLL file only once, Alex Bennée, 2025/01/14
- [PATCH v2 18/37] contrib/plugins/cflow: fix 32-bit build, Alex Bennée, 2025/01/14
- [PATCH v2 28/37] tests/qtest: fix some copy and paste errors in kdoc, Alex Bennée, 2025/01/14
- [PATCH v2 29/37] include/exec: fix some copy and paste errors in kdoc, Alex Bennée, 2025/01/14
- [PATCH v2 24/37] docs/devel/style: add a section about bitfield, and disallow them for packed structures, Alex Bennée, 2025/01/14
- [PATCH v2 21/37] configure: reenable plugins by default for 32-bit hosts, Alex Bennée, 2025/01/14
- [PATCH v2 32/37] docs/devel: add git-publish for patch submitting, Alex Bennée, 2025/01/14
- [PATCH v2 19/37] contrib/plugins/hwprofile: fix 32-bit build, Alex Bennée, 2025/01/14