tcg: let plugins instrument virtual memory accesses
authorEmilio G. Cota <cota@braap.org>
Sun, 21 Oct 2018 17:24:26 +0000 (13:24 -0400)
committerAlex Bennée <alex.bennee@linaro.org>
Mon, 28 Oct 2019 15:12:38 +0000 (15:12 +0000)
commite6d86bed50d20101c565e149c33e07a5cc764c72
tree38b1cae5b419a737c03621f40c24b91bf63704e2
parentcfec388518d299e77d26b93d92c33442f4daa62b
tcg: let plugins instrument virtual memory accesses

To capture all memory accesses we need hook into all the various
helper functions that are involved in memory operations as well as the
injected inline helper calls. A later commit will allow us to resolve
the actual guest HW addresses by replaying the lookup.

Signed-off-by: Emilio G. Cota <cota@braap.org>
[AJB: drop haddr handling, just deal in vaddr]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/atomic_common.inc.c
accel/tcg/atomic_template.h
accel/tcg/cpu-exec.c
include/exec/cpu-defs.h
include/exec/cpu_ldst_template.h
include/exec/cpu_ldst_useronly_template.h
tcg/tcg-op.c
tcg/tcg.h