Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tb_lock();
+ if (!tcg_enabled()) {
+ cpu_fprintf(f, "TCG not enabled\n");
+ return;
+ }
+
target_code_size = 0;
max_target_code_size = 0;
cross_page = 0;
Show memory tree.
ETEXI
+#if defined(CONFIG_TCG)
{
.name = "jit",
.args_type = "",
.help = "show dynamic compiler info",
.cmd = hmp_info_jit,
},
+#endif
STEXI
@item info jit
Show dynamic compiler info.
ETEXI
+#if defined(CONFIG_TCG)
{
.name = "opcount",
.args_type = "",
.help = "show dynamic compiler opcode counters",
.cmd = hmp_info_opcount,
},
+#endif
STEXI
@item info opcount
}
}
+#ifdef CONFIG_TCG
static void hmp_info_jit(Monitor *mon, const QDict *qdict)
{
if (!tcg_enabled()) {
{
dump_opcount_info((FILE *)mon, monitor_fprintf);
}
+#endif
static void hmp_info_history(Monitor *mon, const QDict *qdict)
{