]> git.proxmox.com Git - mirror_qemu.git/commit
plugins: Use translator_st for qemu_plugin_insn_data
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 3 Apr 2024 19:20:06 +0000 (09:20 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 15 May 2024 06:55:18 +0000 (08:55 +0200)
commit36bc99bc789fd564facea93feb2a22e4942b84d0
tree06c80475b1c2a88198d9e546ccb37b000e32ac7c
parent3a247368e6fc12304e73451c63254313e2ebd60e
plugins: Use translator_st for qemu_plugin_insn_data

Use the bytes that we record for the entire TB, rather than
a per-insn GByteArray.  Record the length of the insn in
plugin_gen_insn_end rather than infering from the length
of the array.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/plugin-gen.c
accel/tcg/translator.c
include/qemu/plugin.h
plugins/api.c
tcg/tcg.c