Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Wynholds <jan@rootmusic.com>2012-10-10 02:09:07 +0400
committerBen Noordhuis <info@bnoordhuis.nl>2012-11-01 04:25:22 +0400
commit06810b29fae7c549c3a016f2faa3cf6b444a1149 (patch)
tree8088e13139fc993be84c11cbd059a4f999651039 /configure
parentab1e66d93f4eddf23f62fd69094690124357e3e9 (diff)
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 e13e4245cd3..ad7aa933a0f 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'