From e323c93edf3abb67c37b8e08b78da4835880f12e Mon Sep 17 00:00:00 2001 From: Jes Sorensen Date: Thu, 17 Feb 2011 13:26:05 +0100 Subject: 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 --- scripts/tracetool | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'scripts') diff --git a/scripts/tracetool b/scripts/tracetool index e04668322d..412f695863 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 <