On 7/15/25 04:40, Philippe Mathieu-Daudé wrote:
Statistic code is not specific to system emulation (except
cross-page checks) and can be used to analyze user-mode binaries.
Extract statistic related code to its own file: tcg-stats.c,
keeping the original LGPL-2.1-or-later license tag.
Signed-off-by: Philippe Mathieu-Daudé<phi...@linaro.org>
Reviewed-by: Zhao Liu<zhao1....@intel.com>
---
accel/tcg/monitor.c | 201 ---------------------------------------
accel/tcg/tcg-stats.c | 215 ++++++++++++++++++++++++++++++++++++++++++
accel/tcg/meson.build | 1 +
3 files changed, 216 insertions(+), 201 deletions(-)
create mode 100644 accel/tcg/tcg-stats.c
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~