2021-06-24 12:38:36 +02:00
|
|
|
#include "qemu/osdep.h"
|
|
|
|
#include "qemu/error-report.h"
|
2021-09-08 11:35:43 +02:00
|
|
|
#include "qapi/error.h"
|
|
|
|
#include "qapi/qapi-commands-machine.h"
|
2021-06-24 12:38:36 +02:00
|
|
|
#include "exec/exec-all.h"
|
|
|
|
#include "monitor/monitor.h"
|
|
|
|
#include "sysemu/tcg.h"
|
|
|
|
|
|
|
|
static void hmp_info_opcount(Monitor *mon, const QDict *qdict)
|
|
|
|
{
|
|
|
|
dump_opcount_info();
|
|
|
|
}
|
|
|
|
|
|
|
|
static void hmp_tcg_register(void)
|
|
|
|
{
|
2021-09-08 11:35:43 +02:00
|
|
|
monitor_register_hmp_info_hrt("jit", qmp_x_query_jit);
|
2021-06-24 12:38:36 +02:00
|
|
|
monitor_register_hmp("opcount", true, hmp_info_opcount);
|
|
|
|
}
|
|
|
|
|
|
|
|
type_init(hmp_tcg_register);
|