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.
But it's not callable from user-mode. At least so far, and within this series. So, split out the new file if you like, but ...
diff --git a/accel/tcg/meson.build b/accel/tcg/meson.build index 575e92bb9e8..002aa8f4588 100644 --- a/accel/tcg/meson.build +++ b/accel/tcg/meson.build @@ -11,6 +11,7 @@ tcg_ss.add(files( 'tcg-runtime-gvec.c', 'tb-maint.c', 'tcg-all.c', + 'tcg-stats.c', 'translate-all.c', 'translator.c', ))
... leave it within system_ss. r~