forked from qemu/qemu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'remotes/stefanha/tags/tracing-pull-requ…
…est' into staging # gpg: Signature made Fri 26 Sep 2014 11:59:34 BST using RSA key ID 81AB73C8 # gpg: Good signature from "Stefan Hajnoczi <[email protected]>" # gpg: aka "Stefan Hajnoczi <[email protected]>" * remotes/stefanha/tags/tracing-pull-request: ohci: drop computed flags from trace events ohci: Split long traces to smaller ones scripts/tracetool: don't barf on formats with precision trace: install trace-events file trace-events: Fix comments pointing to source files trace-events: Drop orphaned monitor trace event trace-events: Drop unused megasas trace event cleanup-trace-events.pl: Tighten search for trace event call trace: tighten up trace-events regex to fix bad parse trace-events: drop orphan iscsi trace events trace-events: drop orphan usb_mtp_data_out trace-events: drop orphan virtio_blk_data_plane_complete_request trace: [hmp] Reimplement "trace-event" and "info trace-events" using QMP trace: [qmp] Add commands to query and control event tracing state trace: docs: add trace file description trace: [ust] Fix format string computation in tcg-enabled events Signed-off-by: Peter Maydell <[email protected]>
- Loading branch information
Showing
16 changed files
with
238 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
# -*- mode: python -*- | ||
# | ||
# Copyright (C) 2011-2014 Lluís Vilanova <[email protected]> | ||
# | ||
# This work is licensed under the terms of the GNU GPL, version 2 or later. | ||
# See the COPYING file in the top-level directory. | ||
|
||
|
||
## | ||
# @TraceEventState: | ||
# | ||
# State of a tracing event. | ||
# | ||
# @unavailable: The event is statically disabled. | ||
# | ||
# @disabled: The event is dynamically disabled. | ||
# | ||
# @enabled: The event is dynamically enabled. | ||
# | ||
# Since 2.2 | ||
## | ||
{ 'enum': 'TraceEventState', | ||
'data': ['unavailable', 'disabled', 'enabled'] } | ||
|
||
## | ||
# @TraceEventInfo: | ||
# | ||
# Information of a tracing event. | ||
# | ||
# @name: Event name. | ||
# @state: Tracing state. | ||
# | ||
# Since 2.2 | ||
## | ||
{ 'type': 'TraceEventInfo', | ||
'data': {'name': 'str', 'state': 'TraceEventState'} } | ||
|
||
## | ||
# @trace-event-get-state: | ||
# | ||
# Query the state of events. | ||
# | ||
# @name: Event name pattern (case-sensitive glob). | ||
# | ||
# Returns: a list of @TraceEventInfo for the matching events | ||
# | ||
# Since 2.2 | ||
## | ||
{ 'command': 'trace-event-get-state', | ||
'data': {'name': 'str'}, | ||
'returns': ['TraceEventInfo'] } | ||
|
||
## | ||
# @trace-event-set-state: | ||
# | ||
# Set the dynamic tracing state of events. | ||
# | ||
# @name: Event name pattern (case-sensitive glob). | ||
# @enable: Whether to enable tracing. | ||
# @ignore-unavailable: #optional Do not match unavailable events with @name. | ||
# | ||
# Since 2.2 | ||
## | ||
{ 'command': 'trace-event-set-state', | ||
'data': {'name': 'str', 'enable': 'bool', '*ignore-unavailable': 'bool'} } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.