aboutsummaryrefslogtreecommitdiff
path: root/qapi/trace.json
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 15:21:49 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:19:47 +0100
commit8a9b273e5770f9f0586791c6364a04d2647467ee (patch)
tree204cd1391bbf6191c82b4d2f36118dc857f82ed4 /qapi/trace.json
parenta93b9ba76fdce637bfc3305e4b38dcc0ac0e478b (diff)
qmp-commands: move 'trace-event-set-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 24608c2f3c..2bfda7ac7c 100644
--- a/qapi/trace.json
+++ b/qapi/trace.json
@@ -94,6 +94,13 @@
# error is returned.
#
# Since: 2.2
+#
+# Example:
+#
+# -> { "execute": "trace-event-set-state",
+# "arguments": { "name": "qemu_memalign", "enable": "true" } }
+# <- { "return": {} }
+#
##
{ 'command': 'trace-event-set-state',
'data': {'name': 'str', 'enable': 'bool', '*ignore-unavailable': 'bool',