diff options
author | Robert Mustacchi <rm@joyent.com> | 2011-07-25 22:34:47 +0000 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2011-07-25 22:34:47 +0000 |
commit | 3ba2ad4f4cc1bca8d1bc5121b9516acfb9688938 (patch) | |
tree | 0072ed203022579e64dca0c53655149c9aedd41b /configure | |
parent | 6909a825bfa33c572b5ab3a38cd52a93d4a50272 (diff) | |
download | illumos-kvm-cmd-3ba2ad4f4cc1bca8d1bc5121b9516acfb9688938.tar.gz |
HVM-514 get kvm-cmd tracetool working
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |