On 3/10/23 20:30, Richard Henderson wrote:
From: Fei Wu <fei2...@intel.com>

Enable TBStatistics collection from startup.

Signed-off-by: Vanderson M. do Rosario <vanderson...@gmail.com>
Signed-off-by: Alex Bennée <alex.ben...@linaro.org>
Signed-off-by: Fei Wu <fei2...@intel.com>
[rth: Change "tb_stats_foo" to "tb_stats:foo"]
Signed-off-by: Richard Henderson <richard.hender...@linaro.org>
---
  stubs/tb-stats.c  | 16 ++++++++++++++++
  util/log.c        | 36 +++++++++++++++++++++++++++++++-----
  stubs/meson.build |  1 +
  3 files changed, 48 insertions(+), 5 deletions(-)
  create mode 100644 stubs/tb-stats.c

diff --git a/stubs/tb-stats.c b/stubs/tb-stats.c
new file mode 100644
index 0000000000..ceaa1622ce
--- /dev/null
+++ b/stubs/tb-stats.c
@@ -0,0 +1,16 @@
+/*
+ * TB Stats Stubs
+ *
+ * Copyright (c) 2019
+ * Written by Alex Bennée <alex.ben...@linaro.org>
+ *
+ * This code is licensed under the GNU GPL v2, or later.
+ */
+
+
+#include "qemu/osdep.h"
+#include "tcg/tb-stats.h"
+
+void tb_stats_init(uint32_t flags)
+{
+}

We don't need this stub anymore.

Reply via email to