Patches applied successfully (
tree,
apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20240706191335.878142-1-pierrick.bouvier@linaro.org
Maintainers: Richard Henderson <richard.henderson@linaro.org>, Paolo Bonzini <pbonzini@redhat.com>, Eduardo Habkost <eduardo@habkost.net>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Yanan Wang <wangyanan55@huawei.com>, "Alex Bennée" <alex.bennee@linaro.org>, Alexandre Iooss <erdnaxe@crans.org>, Mahmoud Mandour <ma.mandourr@gmail.com>, Pierrick Bouvier <pierrick.bouvier@linaro.org>
accel/tcg/atomic_template.h | 66 +++++++++++++--
include/hw/core/cpu.h | 4 +
include/qemu/plugin.h | 4 +
include/qemu/qemu-plugin.h | 32 ++++++++
accel/tcg/plugin-gen.c | 3 +-
plugins/api.c | 33 ++++++++
plugins/core.c | 6 ++
tcg/tcg-op-ldst.c | 66 +++++++++++++--
tests/plugin/mem.c | 69 +++++++++++++++-
tests/tcg/x86_64/test-plugin-mem-access.c | 89 +++++++++++++++++++++
accel/tcg/atomic_common.c.inc | 13 ++-
accel/tcg/ldst_common.c.inc | 38 +++++----
plugins/qemu-plugins.symbols | 1 +
tests/tcg/Makefile.target | 10 ++-
tests/tcg/x86_64/Makefile.target | 7 ++
tests/tcg/x86_64/check-plugin-mem-access.sh | 48 +++++++++++
16 files changed, 455 insertions(+), 34 deletions(-)
create mode 100644 tests/tcg/x86_64/test-plugin-mem-access.c
create mode 100755 tests/tcg/x86_64/check-plugin-mem-access.sh