summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJan Wynholds <jan@rootmusic.com>2012-10-09 15:09:07 -0700
committerBen Noordhuis <info@bnoordhuis.nl>2012-11-01 01:25:22 +0100
commit06810b29fae7c549c3a016f2faa3cf6b444a1149 (patch)
tree8088e13139fc993be84c11cbd059a4f999651039 /configure
parentab1e66d93f4eddf23f62fd69094690124357e3e9 (diff)
downloadnode-06810b29fae7c549c3a016f2faa3cf6b444a1149.tar.gz
tracing: add systemtap support
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure b/configure
index e13e4245c..ad7aa933a 100755
--- a/configure
+++ b/configure
@@ -377,8 +377,12 @@ def configure_node(o):
# SunOS, and we haven't implemented it.)
if sys.platform.startswith('sunos'):
o['variables']['node_use_dtrace'] = b(not options.without_dtrace)
+ elif sys.platform.startswith('linux'):
+ o['variables']['node_use_dtrace'] = 'false'
+ o['variables']['node_use_systemtap'] = b(not options.without_dtrace)
elif b(options.with_dtrace) == 'true':
- raise Exception('DTrace is currently only supported on SunOS systems.')
+ raise Exception(
+ 'DTrace is currently only supported on SunOS or Linux systems.')
else:
o['variables']['node_use_dtrace'] = 'false'