From 3ba2ad4f4cc1bca8d1bc5121b9516acfb9688938 Mon Sep 17 00:00:00 2001 From: Robert Mustacchi Date: Mon, 25 Jul 2011 22:34:47 +0000 Subject: HVM-514 get kvm-cmd tracetool working --- configure | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'configure') diff --git a/configure b/configure index 46f2142..c169eb3 100755 --- a/configure +++ b/configure @@ -2968,6 +2968,13 @@ fi if test "$trace_backend" = "dtrace" -a "$trace_backend_stap" = "yes" ; then echo "CONFIG_SYSTEMTAP_TRACE=y" >> $config_host_mak fi +if test "$trace_backend" = "dtrace" -a "$trace_backend_stap" != "yes" ; then + if test "$cpu" = "x86_64" -o "$cpu" = "sparc64" ; then + echo "CONFIG_DTRACE_FLAGS=-64" >> $config_host_mak + else + echo "CONFIG_DTRACE_FLAGS=-32" >> $config_host_mak + fi +fi echo "CONFIG_TRACE_FILE=$trace_file" >> $config_host_mak echo "TOOLS=$tools" >> $config_host_mak -- cgit v1.2.3