diff mbox

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

Message ID 1441954730-17341-1-git-send-email-lma@suse.com
State New
Headers show

Commit Message

Lin Ma Sept. 11, 2015, 6:58 a.m. UTC
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>
---
 docs/tracing.txt | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Comments

Ján Tomko Oct. 7, 2015, 1:01 p.m. UTC | #1
On Fri, Sep 11, 2015 at 02:58:50PM +0800, Lin Ma wrote:
> 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>
> ---
>  docs/tracing.txt | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)

Reviewed-by: Ján Tomko <jtomko@redhat.com>
Stefan Hajnoczi Oct. 7, 2015, 2:31 p.m. UTC | #2
On Fri, Sep 11, 2015 at 02:58:50PM +0800, Lin Ma wrote:
> 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>
> ---
>  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
diff mbox

Patch

diff --git a/docs/tracing.txt b/docs/tracing.txt
index 7117c5e..3853a6a 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 ==