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: v0.15.0-rc0~776 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e323c93edf3abb67c37b8e08b78da4835880f12e;p=thirdparty%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 e04668322d0..412f6958632 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 <