From patchwork Tue Feb 15 10:10:22 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jes Sorensen X-Patchwork-Id: 83230 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 63590B708B for ; Tue, 15 Feb 2011 21:15:54 +1100 (EST) Received: from localhost ([127.0.0.1]:40871 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PpHwl-0005Ev-0r for incoming@patchwork.ozlabs.org; Tue, 15 Feb 2011 05:15:51 -0500 Received: from [140.186.70.92] (port=47201 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PpHrY-0003Nv-74 for qemu-devel@nongnu.org; Tue, 15 Feb 2011 05:10:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PpHrW-0003YD-Rk for qemu-devel@nongnu.org; Tue, 15 Feb 2011 05:10:28 -0500 Received: from mx1.redhat.com ([209.132.183.28]:18253) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PpHrW-0003Xu-J4 for qemu-devel@nongnu.org; Tue, 15 Feb 2011 05:10:26 -0500 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p1FAAOB0016198 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 15 Feb 2011 05:10:24 -0500 Received: from red-feather.redhat.com (ovpn-113-87.phx2.redhat.com [10.3.113.87]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p1FAANJH023149; Tue, 15 Feb 2011 05:10:24 -0500 From: Jes.Sorensen@redhat.com To: qemu-devel@nongnu.org Date: Tue, 15 Feb 2011 11:10:22 +0100 Message-Id: <1297764622-25287-1-git-send-email-Jes.Sorensen@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.132.183.28 Cc: stefanha@linux.vnet.ibm.com Subject: [Qemu-devel] [PATCH] tracetool: Add optional argument to specify dtrace probe names X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Jes Sorensen Optional feature allowing a user to generate the probe list to match the name of the binary, in case they wish to install qemu under a different name than qemu-{system,user}, Signed-off-by: Jes Sorensen --- scripts/tracetool | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) diff --git a/scripts/tracetool b/scripts/tracetool index e046683..0200afa 100755 --- a/scripts/tracetool +++ b/scripts/tracetool @@ -33,6 +33,7 @@ Options: --binary [path] Full path to QEMU binary --target-arch [arch] QEMU emulator target arch --target-type [type] QEMU emulator target type ('system' or 'user') + --probe-name [name] Specify alternative name for dtrace probes EOF exit 1 @@ -472,7 +473,7 @@ linetostap_dtrace() # Define prototype for probe arguments cat <