Skip to contentSkip to conversation

trace: document '-' syntax for disabling events

PATCH New Stefan Hajnoczi 1 participant 1 message Nov 5, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 trace: document '-' syntax for disabling events

---
 docs/tracing.txt | 4 ++++
 1 file changed, 4 insertions(+)
docs/tracing.txt +4 -0
index c541133..7901409 100644
@@ -139,6 +139,10 @@ having a common prefix in a batch. For example, virtio-blk trace events could
 be enabled using:
   trace-event virtio_blk_* on
 
+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.
+
 == Trace backends ==
 
 The "tracetool" script automates tedious trace event code generation and also
Signature · 1 line
1.7.12.1