aboutsummaryrefslogtreecommitdiffstats
path: root/accel/tcg/hmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel/tcg/hmp.c')
-rw-r--r--accel/tcg/hmp.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/accel/tcg/hmp.c b/accel/tcg/hmp.c
new file mode 100644
index 000000000..d2ea35265
--- /dev/null
+++ b/accel/tcg/hmp.c
@@ -0,0 +1,15 @@
+#include "qemu/osdep.h"
+#include "qemu/error-report.h"
+#include "qapi/error.h"
+#include "qapi/qapi-commands-machine.h"
+#include "exec/exec-all.h"
+#include "monitor/monitor.h"
+#include "sysemu/tcg.h"
+
+static void hmp_tcg_register(void)
+{
+ monitor_register_hmp_info_hrt("jit", qmp_x_query_jit);
+ monitor_register_hmp_info_hrt("opcount", qmp_x_query_opcount);
+}
+
+type_init(hmp_tcg_register);