Skip to contentSkip to conversation

docs: update the usage example of "dtrace" backend in tracing.txt

PATCH Applied Lin Ma 3 participants 3 messages Sep 11, 2015 – Oct 7, 2015

lore
Share & tools
lore

Lin Ma

author
#0 lore raw

PATCH 1/1 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.

---
 docs/tracing.txt | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
docs/tracing.txt +5 -5
index 7117c5e..3853a6a 100644
@@ -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 ==
 
Signature · 1 line
2.1.4
Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · Lin Ma

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.

---
 docs/tracing.txt | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
#2 lore raw
In reply to Lin Ma
Quoted 8 lines · Lin Ma

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.

---
 docs/tracing.txt | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Thanks, applied to my tracing tree:
https://github.com/stefanha/qemu/commits/tracing

Stefan