From: Philippe Mathieu-Daudé Date: Thu, 3 Jul 2025 09:42:17 +0000 (+0200) Subject: accel/tcg: Remove profiler leftover X-Git-Tag: v10.1.0-rc0~32^2~26 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f1e59f012de35310314a2a12ea9cb5f72019c976;p=thirdparty%2Fqemu.git accel/tcg: Remove profiler leftover TCG profiler was removed in commit 1b65b4f54c7. Fixes: 1b65b4f54c7 ("accel/tcg: remove CONFIG_PROFILER") Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Reviewed-by: Xiaoyao Li Reviewed-by: Zhao Liu Message-Id: <20250703173248.44995-9-philmd@linaro.org> --- diff --git a/accel/tcg/monitor.c b/accel/tcg/monitor.c index 7c686226b21..344ec500473 100644 --- a/accel/tcg/monitor.c +++ b/accel/tcg/monitor.c @@ -141,11 +141,6 @@ static void tlb_flush_counts(size_t *pfull, size_t *ppart, size_t *pelide) *pelide = elide; } -static void tcg_dump_info(GString *buf) -{ - g_string_append_printf(buf, "[TCG profiler not compiled]\n"); -} - static void dump_exec_info(GString *buf) { struct tb_tree_stats tst = {}; @@ -196,7 +191,6 @@ static void dump_exec_info(GString *buf) g_string_append_printf(buf, "TLB full flushes %zu\n", flush_full); g_string_append_printf(buf, "TLB partial flushes %zu\n", flush_part); g_string_append_printf(buf, "TLB elided flushes %zu\n", flush_elide); - tcg_dump_info(buf); } HumanReadableText *qmp_x_query_jit(Error **errp)