plugins: Reorg arguments to qemu_plugin_vcpu_mem_cb
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 26 Jul 2021 21:48:30 +0000 (11:48 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 5 Oct 2021 23:53:17 +0000 (16:53 -0700)
commit37aff08726b533c5df6a5a8685cca8a0de5e6619
treed57d66222924bdb444cae5eb2d62362606ea5709
parentc3e83e376cf028fade97072d86f33e4a92ddf9a2
plugins: Reorg arguments to qemu_plugin_vcpu_mem_cb

Use the MemOpIdx directly, rather than the rearrangement
of the same bits currently done by the trace infrastructure.
Pass in enum qemu_plugin_mem_rw so that we are able to treat
read-modify-write operations as a single operation.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/atomic_common.c.inc
accel/tcg/cputlb.c
accel/tcg/plugin-gen.c
accel/tcg/user-exec.c
include/qemu/plugin.h
plugins/api.c
plugins/core.c
tcg/tcg-op.c