summaryrefslogtreecommitdiff
path: root/defs
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-01-05 05:59:23 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-01-05 05:59:23 +0000
commit295bc2fe2577336807db6e2c30bd642bdb6482bc (patch)
treee8af2c0334772bc31cc943c68fd2a884605830cc /defs
parent623a79c376fec2f76cc33819807f1903b40c3dea (diff)
removes the dtrace support. reverts r26239, r26238 and r26235.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'defs')
-rw-r--r--defs/dtrace.d41
1 files changed, 0 insertions, 41 deletions
diff --git a/defs/dtrace.d b/defs/dtrace.d
deleted file mode 100644
index 2983423d0b..0000000000
--- a/defs/dtrace.d
+++ /dev/null
@@ -1,41 +0,0 @@
-#ifdef BITSIZE_OF_VALUE
-#define DO_DEFINE_VALUE(sz) typedef uint ## sz ## _t VALUE
-#define DEFINE_VALUE(sz) DO_DEFINE_VALUE(sz)
-DEFINE_VALUE(BITSIZE_OF_VALUE);
-#else
-# error BITSIZE_OF_VALUE is not defined.
-#endif
-provider ruby {
- probe method__entry(VALUE receiver, char *classname, char *methodname, char *sourcefile, int sourceline);
- probe method__return(VALUE receiver, char *classname, char *methodname, char *sourcefile, int sourceline);
- probe raise(VALUE exception, char *classname, char *sourcefile, int sourceline);
- probe rescue(VALUE exception, char *classname, char *sourcefile, int sourceline);
- probe line(char* sourcefile, int sourceline);
-
- /* gc probes */
- probe gc__begin();
- probe gc__end();
-
- /* threads and fibers */
- probe thread__init(VALUE thread, char *sourcefile, int sourceline);
- probe thread__term(VALUE thread, char *sourcefile, int sourceline);
- probe thread__enter(VALUE thread, char *sourcefile, int sourceline);
- probe thread__leave(VALUE thread, char *sourcefile, int sourceline);
-
- /* Some initial memory type probes */
- probe object__create(VALUE obj, char *classname, char *sourcefile, int sourceline);
- probe object__free(VALUE obj);
-
- /* VM proves */
- probe insn__entry(char *insnname, VALUE *operands, char *sourcefile, int sourceline);
- probe insn__return(char *insnname, VALUE *operands, char *sourcefile, int sourceline);
-
- probe ruby__probe(char *name, char *data);
-};
-
-#pragma D attributes Evolving/Evolving/Common provider ruby provider
-#pragma D attributes Private/Private/Unknown provider ruby module
-#pragma D attributes Private/Private/Unknown provider ruby function
-#pragma D attributes Evolving/Evolving/Unknown provider ruby name
-#pragma D attributes Evolving/Evolving/Unknown provider ruby args
-