diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2018-07-19 18:25:53 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2018-07-19 18:25:53 +0100 |
commit | 0b46a3f005458311d6fa479c1f5f8fe3da562d61 (patch) | |
tree | 5d653b7c776ae5e2479ee31b98e5abf0516e5574 /docs/devel | |
parent | 9f2b67e1ca43c84ed37ebd027e7e77a0f2f8ef65 (diff) | |
parent | db817b8c500a60873eba80cbf047900ae5b32766 (diff) | |
download | qemu-0b46a3f005458311d6fa479c1f5f8fe3da562d61.zip qemu-0b46a3f005458311d6fa479c1f5f8fe3da562d61.tar.gz qemu-0b46a3f005458311d6fa479c1f5f8fe3da562d61.tar.bz2 |
Merge remote-tracking branch 'remotes/stefanha/tags/tracing-pull-request' into staging
Pull request
Contains a fix to use double-dash consistently with tracing command-line
options in documentation and output.
# gpg: Signature made Thu 19 Jul 2018 17:24:51 BST
# gpg: using RSA key 9CA4ABB381AB73C8
# gpg: Good signature from "Stefan Hajnoczi <stefanha@redhat.com>"
# gpg: aka "Stefan Hajnoczi <stefanha@gmail.com>"
# Primary key fingerprint: 8695 A8BF D3F9 7CDA AC35 775A 9CA4 ABB3 81AB 73C8
* remotes/stefanha/tags/tracing-pull-request:
tracing: Use double-dash spelling for trace option
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'docs/devel')
-rw-r--r-- | docs/devel/tracing.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/devel/tracing.txt b/docs/devel/tracing.txt index 6f815ec..bc52f12 100644 --- a/docs/devel/tracing.txt +++ b/docs/devel/tracing.txt @@ -18,7 +18,7 @@ for debugging, profiling, and observing execution. 3. Run the virtual machine to produce a trace file: - qemu -trace events=/tmp/events ... # your normal QEMU invocation + qemu --trace events=/tmp/events ... # your normal QEMU invocation 4. Pretty-print the binary trace file: @@ -157,11 +157,11 @@ The state of events can also be queried and modified through monitor commands: * trace-event NAME on|off Enable/disable a given trace event or a group of events (using wildcards). -The "-trace events=<file>" command line argument can be used to enable the +The "--trace events=<file>" command line argument can be used to enable the events listed in <file> from the very beginning of the program. This file must contain one event name per line. -If a line in the "-trace events=<file>" file begins with a '-', the trace event +If a line in the "--trace events=<file>" file begins with a '-', the trace event will be disabled instead of enabled. This is useful when a wildcard was used to enable an entire family of events but one noisy event needs to be disabled. |