On 1/24/23 08:01, Alex Bennée wrote:
From: Emilio Cota<c...@braap.org>
There are actually a whole bunch of helpers that don't affect memory
that we shouldn't instrument. They are helpfully identified by the
TCG_CALL_NO_SIDE_EFFECTS flag which marks out lookup_tb_ptr as well as
a lot of the maths helpers. To avoid the string compare we introduce a
new flag for plugin internals so we skip that too.
Related: #1381
Signed-off-by: Emilio Cota<c...@braap.org>
Message-Id:<20230108164731.61469-4-c...@braap.org>
[AJB: updated to skip all no SE plugins, add flag for plugin helper]
Signed-off-by: Alex Bennée<alex.ben...@linaro.org>
---
v2
- use TCG_CALL_NO_SIDE_EFFECTS as suggested by rth
- add flag for plugin specific helpers
---
accel/tcg/plugin-helpers.h | 4 ++--
include/tcg/tcg.h | 2 ++
tcg/tcg.c | 6 ++++--
3 files changed, 8 insertions(+), 4 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~