00001
00002 #include "vm_opts.h"
00003
00004 #ifndef _PROBES_H
00005 #define _PROBES_H
00006 #define DTRACE_PROBES_DISABLED 1
00007
00008 #define RUBY_DTRACE_METHOD_ENTRY_ENABLED() 0
00009 #define RUBY_DTRACE_METHOD_ENTRY(arg0, arg1, arg2, arg3) do { } while(0)
00010 #define RUBY_DTRACE_METHOD_RETURN_ENABLED() 0
00011 #define RUBY_DTRACE_METHOD_RETURN(arg0, arg1, arg2, arg3) do { } while(0)
00012
00013 #define RUBY_DTRACE_CMETHOD_ENTRY_ENABLED() 0
00014 #define RUBY_DTRACE_CMETHOD_ENTRY(arg0, arg1, arg2, arg3) do { } while(0)
00015 #define RUBY_DTRACE_CMETHOD_RETURN_ENABLED() 0
00016 #define RUBY_DTRACE_CMETHOD_RETURN(arg0, arg1, arg2, arg3) do { } while(0)
00017
00018 #define RUBY_DTRACE_REQUIRE_ENTRY_ENABLED() 0
00019 #define RUBY_DTRACE_REQUIRE_ENTRY(arg0, arg1, arg2) do { } while(0)
00020
00021 #define RUBY_DTRACE_REQUIRE_RETURN_ENABLED() 0
00022 #define RUBY_DTRACE_REQUIRE_RETURN(arg0, arg1, arg2) do { } while(0)
00023
00024 #define RUBY_DTRACE_FIND_REQUIRE_ENTRY_ENABLED() 0
00025 #define RUBY_DTRACE_FIND_REQUIRE_ENTRY(arg0, arg1, arg2) do { } while(0)
00026
00027 #define RUBY_DTRACE_FIND_REQUIRE_RETURN_ENABLED() 0
00028 #define RUBY_DTRACE_FIND_REQUIRE_RETURN(arg0, arg1, arg2) do { } while(0)
00029
00030 #define RUBY_DTRACE_LOAD_ENTRY_ENABLED() 0
00031 #define RUBY_DTRACE_LOAD_ENTRY(arg0, arg1, arg2) do { } while(0)
00032
00033 #define RUBY_DTRACE_LOAD_RETURN_ENABLED() 0
00034 #define RUBY_DTRACE_LOAD_RETURN(arg0, arg1, arg2) do { } while(0)
00035
00036 #define RUBY_DTRACE_RAISE_ENABLED() 0
00037 #define RUBY_DTRACE_RAISE(arg0, arg1, arg2) do { } while(0)
00038
00039 #define RUBY_DTRACE_OBJECT_CREATE_ENABLED() 0
00040 #define RUBY_DTRACE_OBJECT_CREATE(arg0, arg1, arg2) do { } while(0)
00041
00042 #define RUBY_DTRACE_ARRAY_CREATE_ENABLED() 0
00043 #define RUBY_DTRACE_ARRAY_CREATE(arg0, arg1, arg2) do { } while(0)
00044
00045 #define RUBY_DTRACE_HASH_CREATE_ENABLED() 0
00046 #define RUBY_DTRACE_HASH_CREATE(arg0, arg1, arg2) do { } while(0)
00047
00048 #define RUBY_DTRACE_STRING_CREATE_ENABLED() 0
00049 #define RUBY_DTRACE_STRING_CREATE(arg0, arg1, arg2) do { } while(0)
00050
00051 #define RUBY_DTRACE_SYMBOL_CREATE_ENABLED() 0
00052 #define RUBY_DTRACE_SYMBOL_CREATE(arg0, arg1, arg2) do { } while(0)
00053
00054 #define RUBY_DTRACE_PARSE_BEGIN_ENABLED() 0
00055 #define RUBY_DTRACE_PARSE_BEGIN(arg0, arg1) do { } while(0)
00056
00057 #define RUBY_DTRACE_PARSE_END_ENABLED() 0
00058 #define RUBY_DTRACE_PARSE_END(arg0, arg1) do { } while(0)
00059
00060 #if VM_COLLECT_USAGE_DETAILS
00061 #define RUBY_DTRACE_INSN_ENABLED() 0
00062 #define RUBY_DTRACE_INSN(arg0) do { } while(0)
00063 #define RUBY_DTRACE_INSN_OPERAND_ENABLED() 0
00064 #define RUBY_DTRACE_INSN_OPERAND(arg0, arg1) do { } while(0)
00065 #endif
00066
00067 #define RUBY_DTRACE_GC_MARK_BEGIN_ENABLED() 0
00068 #define RUBY_DTRACE_GC_MARK_BEGIN() do { } while(0)
00069
00070 #define RUBY_DTRACE_GC_MARK_END_ENABLED() 0
00071 #define RUBY_DTRACE_GC_MARK_END() do { } while(0)
00072
00073 #define RUBY_DTRACE_GC_SWEEP_BEGIN_ENABLED() 0
00074 #define RUBY_DTRACE_GC_SWEEP_BEGIN() do { } while(0)
00075
00076 #define RUBY_DTRACE_GC_SWEEP_END_ENABLED() 0
00077 #define RUBY_DTRACE_GC_SWEEP_END() do { } while(0)
00078
00079 #define RUBY_DTRACE_METHOD_CACHE_CLEAR_ENABLED() 0
00080 #define RUBY_DTRACE_METHOD_CACHE_CLEAR(arg0, arg1, arg2) do { } while(0)
00081
00082 #endif
00083
00084