Skip to content

Commit

Permalink
qapi/trace: Tidy up trace-event-get-state, -set-state documentation
Browse files Browse the repository at this point in the history
trace-event-set-state's explanation of how events are selected is
under "Features".  Doesn't belong there.  Simply delete it, as it
feels redundant with documentation of member @name.

trace-event-get-state's explanation is under "Returns".  Tolerable,
but similarly redundant.  Delete it, too.

Cc: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20230720071610.1096458-5-armbru@redhat.com>
  • Loading branch information
Markus Armbruster committed Jul 26, 2023
1 parent a9c72ef commit e27a9d6
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions qapi/trace.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@
#
# Returns: a list of @TraceEventInfo for the matching events
#
# An event is returned if its name matches the @name pattern
# (There are no longer any per-vCPU events).
#
# Since: 2.2
#
# Example:
Expand Down Expand Up @@ -90,10 +87,8 @@
# @vcpu: The vCPU to act upon (all by default; since 2.7).
#
# Features:
# @deprecated: Member @vcpu is deprecated, and always ignored.
#
# An event is enabled if its name matches the @name pattern
# (There are no longer any per-vCPU events).
# @deprecated: Member @vcpu is deprecated, and always ignored.
#
# Since: 2.2
#
Expand Down

0 comments on commit e27a9d6

Please sign in to comment.