]> git.proxmox.com Git - mirror_qemu.git/commit
accel/tcg: Push trace info building into atomic_common.c.inc
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 17 Jul 2021 01:27:13 +0000 (18:27 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 21 Jul 2021 17:45:38 +0000 (07:45 -1000)
commitf3e182b10013c042b8ab555e4220da7b163862b9
tree2ce8a8f3211628b91a2fbb9561a7ea4eed8bde20
parent785ea711b114452889016f0d292b8f9e9da31752
accel/tcg: Push trace info building into atomic_common.c.inc

Use trace_mem_get_info instead of trace_mem_build_info,
using the TCGMemOpIdx that we already have.  Do this in
the atomic_trace_*_pre function as common subroutines.

Tested-by: Cole Robinson <crobinso@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/atomic_common.c.inc
accel/tcg/atomic_template.h