From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=59534 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pq2wV-0002J2-Eg for qemu-devel@nongnu.org; Thu, 17 Feb 2011 07:26:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pq2wT-0006b0-SF for qemu-devel@nongnu.org; Thu, 17 Feb 2011 07:26:43 -0500 Received: from mx1.redhat.com ([209.132.183.28]:41235) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pq2wT-0006ah-Gd for qemu-devel@nongnu.org; Thu, 17 Feb 2011 07:26:41 -0500 From: Jes.Sorensen@redhat.com Date: Thu, 17 Feb 2011 13:26:05 +0100 Message-Id: <1297945565-10593-1-git-send-email-Jes.Sorensen@redhat.com> Subject: [Qemu-devel] [PATCH v3] tracetool: Add optional argument to specify dtrace probe names List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: pbonzini@redhat.com, stefanha@linux.vnet.ibm.com 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 | 19 +++++++++++++------ 1 files changed, 13 insertions(+), 6 deletions(-) diff --git a/scripts/tracetool b/scripts/tracetool index e046683..412f695 100755 --- a/scripts/tracetool +++ b/scripts/tracetool @@ -30,9 +30,11 @@ Output formats: --stap Generate .stp file (DTrace with SystemTAP only) 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') + --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-prefix [prefix] Prefix for dtrace probe names + (default: qemu-\$targettype-\$targetarch) EOF exit 1 @@ -472,7 +474,7 @@ linetostap_dtrace() # Define prototype for probe arguments cat <