diff options
author | Jan Wynholds <jan@rootmusic.com> | 2012-10-09 15:09:07 -0700 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2012-11-01 01:25:22 +0100 |
commit | 06810b29fae7c549c3a016f2faa3cf6b444a1149 (patch) | |
tree | 8088e13139fc993be84c11cbd059a4f999651039 /configure | |
parent | ab1e66d93f4eddf23f62fd69094690124357e3e9 (diff) | |
download | node-06810b29fae7c549c3a016f2faa3cf6b444a1149.tar.gz |
tracing: add systemtap support
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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' |