summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorLin Ma2015-09-11 08:58:50 +0200
committerStefan Hajnoczi2015-10-09 11:14:05 +0200
commit2e4ccbbc64b212c4d1c7008ca58e141d6a984494 (patch)
treee198a2aafa4facfcc1fa3e590945f3d079ecd5b5 /docs
parentMerge remote-tracking branch 'remotes/awilliam/tags/vfio-update-20151007.0' i... (diff)
downloadqemu-2e4ccbbc64b212c4d1c7008ca58e141d6a984494.tar.gz
qemu-2e4ccbbc64b212c4d1c7008ca58e141d6a984494.tar.xz
qemu-2e4ccbbc64b212c4d1c7008ca58e141d6a984494.zip
docs: update the usage example of "dtrace" backend in tracing.txt
The usage example of dtrace is quite ancient, We have tracetool.py with different parameters instead of the original tracetool shell script for a long time, So update the old information. Signed-off-by: Lin Ma <lma@suse.com> Message-id: 1441954730-17341-1-git-send-email-lma@suse.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/tracing.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/tracing.txt b/docs/tracing.txt
index 7117c5e7d6..3853a6ad8a 100644
--- a/docs/tracing.txt
+++ b/docs/tracing.txt
@@ -258,11 +258,11 @@ is generated to make use in scripts more convenient. This step can also be
performed manually after a build in order to change the binary name in the .stp
probes:
- scripts/tracetool --dtrace --stap \
- --binary path/to/qemu-binary \
- --target-type system \
- --target-name x86_64 \
- <trace-events >qemu.stp
+ scripts/tracetool.py --backends=dtrace --format=stap \
+ --binary path/to/qemu-binary \
+ --target-type system \
+ --target-name x86_64 \
+ <trace-events >qemu.stp
== Trace event properties ==