Re: [PATCH v2 11/33] plugins: Use translator_st for qemu_plugin_insn_data

2024-04-29 Thread Philippe Mathieu-Daudé
On 25/4/24 01:31, Richard Henderson wrote: 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. Signed-off-by: Richard Henderson --- include/qemu/plugin.h |

[PATCH v2 11/33] plugins: Use translator_st for qemu_plugin_insn_data

2024-04-24 Thread Richard Henderson
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. Signed-off-by: Richard Henderson --- include/qemu/plugin.h | 14 +- accel/tcg/plugin-gen.c | 7