aboutsummaryrefslogtreecommitdiffstats
path: root/vm_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/vm_core.h b/vm_core.h
index 757a3a5a15..dd9e3872e2 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -23,7 +23,6 @@
#include "id.h"
#include "method.h"
#include "ruby_atomic.h"
-#include "probes.h"
#if defined(_WIN32)
#include "thread_win32.h"
@@ -899,35 +898,6 @@ rb_threadptr_exec_event_hooks(rb_thread_t *th, rb_event_flag_t flag, VALUE self,
} \
} while (0)
-#define RUBY_DTRACE_FUNC_ENTRY_HOOK(klass, id) \
- if (RUBY_DTRACE_FUNCTION_ENTRY_ENABLED()) { \
- const char * classname = rb_class2name((klass)); \
- const char * methodname = rb_id2name((id)); \
- const char * filename = rb_sourcefile(); \
- if (classname && methodname && filename) { \
- RUBY_DTRACE_FUNCTION_ENTRY( \
- classname, \
- methodname, \
- filename, \
- rb_sourceline()); \
- } \
- } \
-
-#define RUBY_DTRACE_FUNC_RETURN_HOOK(klass, id) \
- if (RUBY_DTRACE_FUNCTION_RETURN_ENABLED()) { \
- const char * classname = rb_class2name((klass)); \
- const char * methodname = rb_id2name((id)); \
- const char * filename = rb_sourcefile(); \
- if (classname && methodname && filename) { \
- RUBY_DTRACE_FUNCTION_RETURN( \
- classname, \
- methodname, \
- filename, \
- rb_sourceline()); \
- } \
- } \
-
-
#if defined __GNUC__ && __GNUC__ >= 4
#pragma GCC visibility push(default)
#endif