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