summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-11-01 13:08:33 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2011-11-01 13:08:33 -0500
commit540903ed8e025cc0c126b87ce41012634ce325a3 (patch)
treece10253ecf5635d92f3f71981d2853cadc125513 /docs
parent10dcfbd327aaf867c5d1053b42fdb2e298888f6b (diff)
parent41cb83840f92b8c643fdb7692cb21293b380a89f (diff)
downloadqemu-540903ed8e025cc0c126b87ce41012634ce325a3.tar.gz
qemu-540903ed8e025cc0c126b87ce41012634ce325a3.tar.bz2
qemu-540903ed8e025cc0c126b87ce41012634ce325a3.zip
Merge remote-tracking branch 'stefanha/tracing' into staging
Diffstat (limited to 'docs')
-rw-r--r--docs/tracing.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/tracing.txt b/docs/tracing.txt
index 95ca16c05d..ea29f2c222 100644
--- a/docs/tracing.txt
+++ b/docs/tracing.txt
@@ -132,12 +132,19 @@ This functionality is also provided through monitor commands:
means disabled.
* trace-event NAME on|off
- Enable/disable a given trace event.
+ Enable/disable a given trace event or a group of events having common prefix
+ through wildcard.
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.
+A basic wildcard matching is supported in both the monitor command "trace
+-event" and the events list file. That means you can enable/disable the events
+having a common prefix in a batch. For example, virtio-blk trace events could
+be enabled using:
+ trace-event virtio_blk_* on
+
== Trace backends ==
The "tracetool" script automates tedious trace event code generation and also