From: Jes Sorensen Date: Thu, 17 Feb 2011 12:26:05 +0000 (+0100) Subject: tracetool: Add optional argument to specify dtrace probe names X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~6294 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e323c93edf3abb67c37b8e08b78da4835880f12e;p=sdk%2Femulator%2Fqemu.git tracetool: Add optional argument to specify dtrace probe names 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 Acked-by: Paolo Bonzini Acked-by: Stefan Hajnoczi Signed-off-by: Aurelien Jarno --- 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 <