Ruby 2.0.0p353(2013-11-22revision43784)

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

probes.h
Go to the documentation of this file.
1 /* -*- c -*- */
2 #include "vm_opts.h"
3
4 #ifndef _PROBES_H
5 #define _PROBES_H
6 #define DTRACE_PROBES_DISABLED 1
7
8
9 #define RUBY_DTRACE_METHOD_ENTRY_ENABLED() 0
10 #define RUBY_DTRACE_METHOD_ENTRY(arg0, arg1, arg2, arg3) do { } while(0)
11
12 #define RUBY_DTRACE_METHOD_RETURN_ENABLED() 0
13 #define RUBY_DTRACE_METHOD_RETURN(arg0, arg1, arg2, arg3) do { } while(0)
14
15
16 #define RUBY_DTRACE_CMETHOD_ENTRY_ENABLED() 0
17 #define RUBY_DTRACE_CMETHOD_ENTRY(arg0, arg1, arg2, arg3) do { } while(0)
18
19 #define RUBY_DTRACE_CMETHOD_RETURN_ENABLED() 0
20 #define RUBY_DTRACE_CMETHOD_RETURN(arg0, arg1, arg2, arg3) do { } while(0)
21
22
23 #define RUBY_DTRACE_REQUIRE_ENTRY_ENABLED() 0
24 #define RUBY_DTRACE_REQUIRE_ENTRY(arg0, arg1, arg2) do { } while(0)
25
26
27 #define RUBY_DTRACE_REQUIRE_RETURN_ENABLED() 0
28 #define RUBY_DTRACE_REQUIRE_RETURN(arg0, arg1, arg2) do { } while(0)
29
30
31 #define RUBY_DTRACE_FIND_REQUIRE_ENTRY_ENABLED() 0
32 #define RUBY_DTRACE_FIND_REQUIRE_ENTRY(arg0, arg1, arg2) do { } while(0)
33
34
35 #define RUBY_DTRACE_FIND_REQUIRE_RETURN_ENABLED() 0
36 #define RUBY_DTRACE_FIND_REQUIRE_RETURN(arg0, arg1, arg2) do { } while(0)
37
38
39 #define RUBY_DTRACE_LOAD_ENTRY_ENABLED() 0
40 #define RUBY_DTRACE_LOAD_ENTRY(arg0, arg1, arg2) do { } while(0)
41
42
43 #define RUBY_DTRACE_LOAD_RETURN_ENABLED() 0
44 #define RUBY_DTRACE_LOAD_RETURN(arg0, arg1, arg2) do { } while(0)
45
46
47 #define RUBY_DTRACE_RAISE_ENABLED() 0
48 #define RUBY_DTRACE_RAISE(arg0, arg1, arg2) do { } while(0)
49
50
51 #define RUBY_DTRACE_OBJECT_CREATE_ENABLED() 0
52 #define RUBY_DTRACE_OBJECT_CREATE(arg0, arg1, arg2) do { } while(0)
53
54
55 #define RUBY_DTRACE_ARRAY_CREATE_ENABLED() 0
56 #define RUBY_DTRACE_ARRAY_CREATE(arg0, arg1, arg2) do { } while(0)
57
58
59 #define RUBY_DTRACE_HASH_CREATE_ENABLED() 0
60 #define RUBY_DTRACE_HASH_CREATE(arg0, arg1, arg2) do { } while(0)
61
62
63 #define RUBY_DTRACE_STRING_CREATE_ENABLED() 0
64 #define RUBY_DTRACE_STRING_CREATE(arg0, arg1, arg2) do { } while(0)
65
66
67 #define RUBY_DTRACE_PARSE_BEGIN_ENABLED() 0
68 #define RUBY_DTRACE_PARSE_BEGIN(arg0, arg1) do { } while(0)
69
70
71 #define RUBY_DTRACE_PARSE_END_ENABLED() 0
72 #define RUBY_DTRACE_PARSE_END(arg0, arg1) do { } while(0)
73
74 #if VM_COLLECT_USAGE_DETAILS
75 #define RUBY_DTRACE_INSN_ENABLED() 0
76 #define RUBY_DTRACE_INSN(arg0) do { } while(0)
77 #define RUBY_DTRACE_INSN_OPERAND_ENABLED() 0
78 #define RUBY_DTRACE_INSN_OPERAND(arg0, arg1) do { } while(0)
79 #endif
80
81
82 #define RUBY_DTRACE_GC_MARK_BEGIN_ENABLED() 0
83 #define RUBY_DTRACE_GC_MARK_BEGIN() do { } while(0)
84
85
86 #define RUBY_DTRACE_GC_MARK_END_ENABLED() 0
87 #define RUBY_DTRACE_GC_MARK_END() do { } while(0)
88
89
90 #define RUBY_DTRACE_GC_SWEEP_BEGIN_ENABLED() 0
91 #define RUBY_DTRACE_GC_SWEEP_BEGIN() do { } while(0)
92
93
94 #define RUBY_DTRACE_GC_SWEEP_END_ENABLED() 0
95 #define RUBY_DTRACE_GC_SWEEP_END() do { } while(0)
96 #endif /* _PROBES_H */
97
98
99
100
101
102
vm_opts.h