diff options
| author | Daniel P. Berrangé <berrange@redhat.com> | 2021-09-08 10:35:43 +0100 |
|---|---|---|
| committer | Daniel P. Berrangé <berrange@redhat.com> | 2021-11-02 15:55:14 +0000 |
| commit | 37087fde0e6b81bdc6aefb1cd6289d90b2095ec0 (patch) | |
| tree | e21afc9fb6d30349ffc0cc514683970fdfae8f11 /hmp-commands-info.hx | |
| parent | dd98234c059e6bdb05a52998270df6d3d990332e (diff) | |
| download | focaccia-qemu-37087fde0e6b81bdc6aefb1cd6289d90b2095ec0.tar.gz focaccia-qemu-37087fde0e6b81bdc6aefb1cd6289d90b2095ec0.zip | |
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>
Diffstat (limited to 'hmp-commands-info.hx')
| -rw-r--r-- | hmp-commands-info.hx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hmp-commands-info.hx b/hmp-commands-info.hx index b6325d36ed..84c5e0da10 100644 --- a/hmp-commands-info.hx +++ b/hmp-commands-info.hx @@ -363,7 +363,7 @@ ERST .args_type = "", .params = "", .help = "show profiling information", - .cmd = hmp_info_profile, + .cmd_info_hrt = qmp_x_query_profile, }, SRST |