[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 28/66] plugins: Reorg arguments to qemu_plugin_vcpu_mem_cb
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v3 28/66] plugins: Reorg arguments to qemu_plugin_vcpu_mem_cb |
Date: |
Mon, 30 Aug 2021 23:42:24 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
On 8/18/21 9:18 PM, Richard Henderson wrote:
> 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.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> include/qemu/plugin.h | 26 ++++++++++++++++++++++++--
> accel/tcg/cputlb.c | 4 ++--
> accel/tcg/plugin-gen.c | 5 ++---
> accel/tcg/user-exec.c | 28 ++++++++++++++--------------
> plugins/api.c | 19 +++++++++++--------
> plugins/core.c | 10 +++++-----
> tcg/tcg-op.c | 30 +++++++++++++++++++++---------
> accel/tcg/atomic_common.c.inc | 13 +++----------
> 8 files changed, 82 insertions(+), 53 deletions(-)
(now v3)
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
- Re: [PATCH v3 23/66] tcg: Expand MO_SIZE to 3 bits, (continued)
- [PATCH v3 32/66] target/ppc: Use MO_128 for 16 byte atomics, Richard Henderson, 2021/08/18
- [PATCH v3 24/66] tcg: Rename TCGMemOpIdx to MemOpIdx, Richard Henderson, 2021/08/18
- [PATCH v3 35/66] accel/tcg: Add cpu_{ld,st}*_mmu interfaces, Richard Henderson, 2021/08/18
- [PATCH v3 36/66] accel/tcg: Move cpu_atomic decls to exec/cpu_ldst.h, Richard Henderson, 2021/08/18
- [PATCH v3 26/66] trace/mem: Pass MemOpIdx to trace_mem_get_info, Richard Henderson, 2021/08/18
- [PATCH v3 28/66] plugins: Reorg arguments to qemu_plugin_vcpu_mem_cb, Richard Henderson, 2021/08/18
- Re: [PATCH v3 28/66] plugins: Reorg arguments to qemu_plugin_vcpu_mem_cb,
Philippe Mathieu-Daudé <=
- [PATCH v3 30/66] target/arm: Use MO_128 for 16 byte atomics, Richard Henderson, 2021/08/18
- [PATCH v3 37/66] target/mips: Use cpu_*_data_ra for msa load/store, Richard Henderson, 2021/08/18
- [PATCH v3 33/66] target/s390x: Use MO_128 for 16 byte atomics, Richard Henderson, 2021/08/18
- [PATCH v3 34/66] target/hexagon: Implement cpu_mmu_index, Richard Henderson, 2021/08/18
- [PATCH v3 31/66] target/i386: Use MO_128 for 16 byte atomics, Richard Henderson, 2021/08/18
- [PATCH v3 38/66] target/mips: Use 8-byte memory ops for msa load/store, Richard Henderson, 2021/08/18
- [PATCH v3 39/66] target/s390x: Use cpu_*_mmu instead of helper_*_mmu, Richard Henderson, 2021/08/18
- [PATCH v3 40/66] target/sparc: Use cpu_*_mmu instead of helper_*_mmu, Richard Henderson, 2021/08/18
- [PATCH v3 41/66] target/arm: Use cpu_*_mmu instead of helper_*_mmu, Richard Henderson, 2021/08/18
- [PATCH v3 42/66] tcg: Move helper_*_mmu decls to tcg/tcg-ldst.h, Richard Henderson, 2021/08/18