summaryrefslogtreecommitdiffstats
path: root/qapi/machine.json
diff options
context:
space:
mode:
authorDaniel P. Berrangé2021-09-08 11:35:43 +0200
committerDaniel P. Berrangé2021-11-02 16:55:14 +0100
commit37087fde0e6b81bdc6aefb1cd6289d90b2095ec0 (patch)
treee21afc9fb6d30349ffc0cc514683970fdfae8f11 /qapi/machine.json
parentqapi: introduce x-query-roms QMP command (diff)
downloadqemu-37087fde0e6b81bdc6aefb1cd6289d90b2095ec0.tar.gz
qemu-37087fde0e6b81bdc6aefb1cd6289d90b2095ec0.tar.xz
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 'qapi/machine.json')
-rw-r--r--qapi/machine.json12
1 files changed, 12 insertions, 0 deletions
diff --git a/qapi/machine.json b/qapi/machine.json
index 26d4ef8195..73ff4bc168 100644
--- a/qapi/machine.json
+++ b/qapi/machine.json
@@ -1413,6 +1413,18 @@
'*maxcpus': 'int' } }
##
+# @x-query-profile:
+#
+# Query TCG profiling information
+#
+# Returns: profile information
+#
+# Since: 6.2
+##
+{ 'command': 'x-query-profile',
+ 'returns': 'HumanReadableText' }
+
+##
# @x-query-roms:
#
# Query information on the registered ROMS