From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=39968 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PpK7D-0006Iy-Bp for qemu-devel@nongnu.org; Tue, 15 Feb 2011 07:34:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PpK7C-0007ok-6X for qemu-devel@nongnu.org; Tue, 15 Feb 2011 07:34:47 -0500 Received: from mx1.redhat.com ([209.132.183.28]:33838) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PpK7B-0007oe-SZ for qemu-devel@nongnu.org; Tue, 15 Feb 2011 07:34:46 -0500 From: Jes.Sorensen@redhat.com Date: Tue, 15 Feb 2011 13:34:41 +0100 Message-Id: <1297773281-4959-1-git-send-email-Jes.Sorensen@redhat.com> Subject: [Qemu-devel] [PATCH v2] 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: 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 | 21 ++++++++++++++------- 1 files changed, 14 insertions(+), 7 deletions(-) diff --git a/scripts/tracetool b/scripts/tracetool index e046683..b4d74ec 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 <