From 8dd6f988eb3e47b383e0d8978c2158041c10ffb9 Mon Sep 17 00:00:00 2001 From: Jes Sorensen Date: Thu, 17 Feb 2011 12:51:58 -0200 Subject: [PATCH 3/4] tracetool: Add optional argument to specify dtrace probe names RH-Author: Jes Sorensen Message-id: <1297947119-18943-2-git-send-email-Jes.Sorensen@redhat.com> Patchwork-id: 18397 O-Subject: [PATCH 1/2] tracetool: Add optional argument to specify dtrace probe names Bugzilla: 672441 RH-Acked-by: Juan Quintela RH-Acked-by: Paolo Bonzini RH-Acked-by: Eduardo Habkost 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 --- tracetool | 19 +++++++++++++------ 1 files changed, 13 insertions(+), 6 deletions(-) Signed-off-by: Luiz Capitulino --- tracetool | 19 +++++++++++++------ 1 files changed, 13 insertions(+), 6 deletions(-) diff --git a/tracetool b/tracetool index 89ad479..da05df7 100644 --- a/tracetool +++ b/tracetool @@ -27,9 +27,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 @@ -244,7 +246,7 @@ linetostap_dtrace() # Define prototype for probe arguments cat <