aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/dtrace-wrapper.h
diff options
context:
space:
mode:
authorPatrik Nyblom <[email protected]>2012-03-02 18:41:17 +0100
committerPatrik Nyblom <[email protected]>2012-03-22 18:16:14 +0100
commitcca350ef2206a81c0f8969071f412f07b87413a1 (patch)
tree1e6a1f5a07940a3e3d39ef7b4d6a7b8010002e06 /erts/emulator/beam/dtrace-wrapper.h
parentc15f94e7922040b63f3abf8680cd77d5548fecf3 (diff)
downloadotp-cca350ef2206a81c0f8969071f412f07b87413a1.tar.gz
otp-cca350ef2206a81c0f8969071f412f07b87413a1.tar.bz2
otp-cca350ef2206a81c0f8969071f412f07b87413a1.zip
Change to more specific configure options for dtrace
Diffstat (limited to 'erts/emulator/beam/dtrace-wrapper.h')
-rw-r--r--erts/emulator/beam/dtrace-wrapper.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/erts/emulator/beam/dtrace-wrapper.h b/erts/emulator/beam/dtrace-wrapper.h
index b633058e90..9d1e55fc43 100644
--- a/erts/emulator/beam/dtrace-wrapper.h
+++ b/erts/emulator/beam/dtrace-wrapper.h
@@ -42,7 +42,7 @@
#define DTRACE_CHARBUF(name, size) \
char name##_BUFFER[size], *name = name##_BUFFER
-#ifdef HAVE_DTRACE
+#if defined(USE_DYNAMIC_TRACE) && defined(USE_VM_PROBES)
#include "erlang_dtrace.h"
@@ -87,7 +87,7 @@
STAP_PROBE10(provider,probe,(parm1),(parm2),(parm3),(parm4),(parm5),(parm6),(parm7),(parm8),(parm9),(parm10))
#endif /* STAP_PROBE_ADDR */
-#else /* HAVE_DTRACE */
+#else /* USE_DYNAMIC_TRACE && USE_VM_PROBES */
/* Render all macros to do nothing */
#define DTRACE_ENABLED(name) 0
@@ -104,6 +104,6 @@
#define DTRACE11(name, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) \
do {} while (0)
-#endif /* HAVE_DTRACE */
+#endif /* USE_DYNAMIC_TRACE && USE_VM_PROBES */
#endif /* __DTRACE_WRAPPER_H */