summaryrefslogtreecommitdiffstats
path: root/dtrace.in
diff options
context:
space:
mode:
Diffstat (limited to 'dtrace.in')
-rwxr-xr-xdtrace.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/dtrace.in b/dtrace.in
index 976ba0cf..d147addb 100755
--- a/dtrace.in
+++ b/dtrace.in
@@ -106,7 +106,8 @@ class provider:
stap_str = stap_str + ",arg%s" % (i);
i += 1
self.h.write ('/* %s (%s) */\n' % (this_probe_canon,args_string))
- self.h.write ('#define %s_ENABLED() %s_semaphore\n' % (this_probe_canon,this_probe))
+ # XXX Enable this when .so semaphores work properly
+ self.h.write ('#define %s_ENABLED() 1 /*%s_semaphore*/\n' % (this_probe_canon,this_probe))
# NB: unsigned short is fixed in ABI
self.h.write ("__extension__ extern unsigned short %s_semaphore __attribute__ ((unused)) __attribute__ ((section (\".probes\")));\n" % (this_probe))
self.h.write (define_str + ") \\\n")