aboutsummaryrefslogtreecommitdiff
path: root/qapi/trace.json
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2024-02-16 15:58:34 +0100
committerMarkus Armbruster <armbru@redhat.com>2024-02-26 10:43:56 +0100
commitd23055b8db88a54b372ebbbffe3681169d2a767a (patch)
treed1c9331cc9a6c44000043d8f2b8f03f37b8ca2da /qapi/trace.json
parent56c64dd60aebb9c856ab63de74c9e81acd079436 (diff)
downloadqemu-d23055b8db88a54b372ebbbffe3681169d2a767a.zip
qemu-d23055b8db88a54b372ebbbffe3681169d2a767a.tar.gz
qemu-d23055b8db88a54b372ebbbffe3681169d2a767a.tar.bz2
qapi: Require descriptions and tagged sections to be indented
By convention, we indent the second and subsequent lines of descriptions and tagged sections, except for examples. Turn this into a hard rule, and apply it to examples, too. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-ID: <20240216145841.2099240-11-armbru@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> [Straightforward conflicts in qapi/migration.json resolved]
Diffstat (limited to 'qapi/trace.json')
-rw-r--r--qapi/trace.json12
1 files changed, 6 insertions, 6 deletions
diff --git a/qapi/trace.json b/qapi/trace.json
index 2077d7e..043d12f 100644
--- a/qapi/trace.json
+++ b/qapi/trace.json
@@ -66,9 +66,9 @@
#
# Example:
#
-# -> { "execute": "trace-event-get-state",
-# "arguments": { "name": "qemu_memalign" } }
-# <- { "return": [ { "name": "qemu_memalign", "state": "disabled", "vcpu": false } ] }
+# -> { "execute": "trace-event-get-state",
+# "arguments": { "name": "qemu_memalign" } }
+# <- { "return": [ { "name": "qemu_memalign", "state": "disabled", "vcpu": false } ] }
##
{ 'command': 'trace-event-get-state',
'data': {'name': 'str',
@@ -96,9 +96,9 @@
#
# Example:
#
-# -> { "execute": "trace-event-set-state",
-# "arguments": { "name": "qemu_memalign", "enable": true } }
-# <- { "return": {} }
+# -> { "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',