mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-11 16:00:50 -07:00
qapi: introduce x-query-profile QMP command
This is a counterpart to the HMP "info profile" command. It is being added with an "x-" prefix because this QMP command is intended as an adhoc debugging tool and will thus not be modelled in QAPI as fully structured data, nor will it have long term guaranteed stability. The existing HMP command is rewritten to call the QMP command. Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
dd98234c05
commit
37087fde0e
5 changed files with 48 additions and 28 deletions
|
|
@ -363,7 +363,7 @@ ERST
|
|||
.args_type = "",
|
||||
.params = "",
|
||||
.help = "show profiling information",
|
||||
.cmd = hmp_info_profile,
|
||||
.cmd_info_hrt = qmp_x_query_profile,
|
||||
},
|
||||
|
||||
SRST
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue