aboutsummaryrefslogtreecommitdiff
path: root/qapi/trace.json
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 15:20:58 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:19:47 +0100
commita93b9ba76fdce637bfc3305e4b38dcc0ac0e478b (patch)
tree3c591b5b4c89bac705fc5deb8432f2923517a5d4 /qapi/trace.json
parent9389a4e3ba3bf9115bdec3ca118b42faed311b24 (diff)
qmp-commands: move 'trace-event-get-state' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'qapi/trace.json')
-rw-r--r--qapi/trace.json7
1 files changed, 7 insertions, 0 deletions
diff --git a/qapi/trace.json b/qapi/trace.json
index 3ad7df7fdb..24608c2f3c 100644
--- a/qapi/trace.json
+++ b/qapi/trace.json
@@ -62,6 +62,13 @@
# an error is returned.
#
# Since: 2.2
+#
+# Example:
+#
+# -> { "execute": "trace-event-get-state",
+# "arguments": { "name": "qemu_memalign" } }
+# <- { "return": [ { "name": "qemu_memalign", "state": "disabled" } ] }
+#
##
{ 'command': 'trace-event-get-state',
'data': {'name': 'str', '*vcpu': 'int'},