From patchwork Fri Sep 11 06:58:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lin Ma X-Patchwork-Id: 516611 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 7AFBA140134 for ; Fri, 11 Sep 2015 17:00:58 +1000 (AEST) Received: from localhost ([::1]:54488 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaIKO-0004UV-OH for incoming@patchwork.ozlabs.org; Fri, 11 Sep 2015 03:00:56 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59409) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaIJs-0004D8-HG for qemu-devel@nongnu.org; Fri, 11 Sep 2015 03:00:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZaIJp-0006RQ-0L for qemu-devel@nongnu.org; Fri, 11 Sep 2015 03:00:24 -0400 Received: from smtp.nue.novell.com ([195.135.221.5]:39806) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaIJo-0006Qh-N0 for qemu-devel@nongnu.org; Fri, 11 Sep 2015 03:00:20 -0400 Received: from linux-wc25.site (ip-203-192-156-9.asianetcom.net [203.192.156.9]) by smtp.nue.novell.com with ESMTP (TLS encrypted); Fri, 11 Sep 2015 09:00:15 +0200 From: Lin Ma To: qemu-devel@nongnu.org Date: Fri, 11 Sep 2015 14:58:50 +0800 Message-Id: <1441954730-17341-1-git-send-email-lma@suse.com> X-Mailer: git-send-email 2.1.4 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 195.135.221.5 Cc: stefanha@redhat.com, Lin Ma Subject: [Qemu-devel] [PATCH] docs: update the usage example of "dtrace" backend in tracing.txt X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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 Reviewed-by: Ján Tomko --- docs/tracing.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 \ - qemu.stp + scripts/tracetool.py --backends=dtrace --format=stap \ + --binary path/to/qemu-binary \ + --target-type system \ + --target-name x86_64 \ + qemu.stp == Trace event properties ==