summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authorkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-22 08:01:49 +0000
committerkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-22 08:01:49 +0000
commit4d7e8b7305c392646f68a785df8f4019ec1e69c9 (patch)
tree1d7d4ee3f50acdab1149d106402d24ac1e430e34 /vm_core.h
parent82e7d00344a185ea46a72ed1352d25d99056add8 (diff)
* Makefile.in: run preprocessor when making probe.h
* probes.d: define probe insn and insn__operand only when VM_COLLECT_USAGE_DETAILS is 1. [Bug #7370] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/vm_core.h b/vm_core.h
index fffaa5e986..2e85eec524 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -14,6 +14,10 @@
#define RUBY_VM_THREAD_MODEL 2
+#ifndef VM_COLLECT_USAGE_DETAILS
+#define VM_COLLECT_USAGE_DETAILS 0
+#endif
+
#include "ruby/ruby.h"
#include "ruby/st.h"