diff options
author | Jan Wynholds <jan@rootmusic.com> | 2012-10-10 02:09:07 +0400 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2012-11-01 04:25:22 +0400 |
commit | 06810b29fae7c549c3a016f2faa3cf6b444a1149 (patch) | |
tree | 8088e13139fc993be84c11cbd059a4f999651039 /configure | |
parent | ab1e66d93f4eddf23f62fd69094690124357e3e9 (diff) |
tracing: add systemtap support
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
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' |