summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@joyent.com>2011-07-25 22:34:47 +0000
committerRobert Mustacchi <rm@joyent.com>2011-07-25 22:34:47 +0000
commit3ba2ad4f4cc1bca8d1bc5121b9516acfb9688938 (patch)
tree0072ed203022579e64dca0c53655149c9aedd41b /configure
parent6909a825bfa33c572b5ab3a38cd52a93d4a50272 (diff)
downloadillumos-kvm-cmd-3ba2ad4f4cc1bca8d1bc5121b9516acfb9688938.tar.gz
HVM-514 get kvm-cmd tracetool working
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 7 insertions, 0 deletions
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