Ruby 2.1.5p273(2014-11-13revision48405)

- 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 #define RUBY_DTRACE_METHOD_ENTRY_ENABLED() 0
9 #define RUBY_DTRACE_METHOD_ENTRY(arg0, arg1, arg2, arg3) do { } while(0)
10 #define RUBY_DTRACE_METHOD_RETURN_ENABLED() 0
11 #define RUBY_DTRACE_METHOD_RETURN(arg0, arg1, arg2, arg3) do { } while(0)
12
13 #define RUBY_DTRACE_CMETHOD_ENTRY_ENABLED() 0
14 #define RUBY_DTRACE_CMETHOD_ENTRY(arg0, arg1, arg2, arg3) do { } while(0)
15 #define RUBY_DTRACE_CMETHOD_RETURN_ENABLED() 0
16 #define RUBY_DTRACE_CMETHOD_RETURN(arg0, arg1, arg2, arg3) do { } while(0)
17
18 #define RUBY_DTRACE_REQUIRE_ENTRY_ENABLED() 0
19 #define RUBY_DTRACE_REQUIRE_ENTRY(arg0, arg1, arg2) do { } while(0)
20
21 #define RUBY_DTRACE_REQUIRE_RETURN_ENABLED() 0
22 #define RUBY_DTRACE_REQUIRE_RETURN(arg0, arg1, arg2) do { } while(0)
23
24 #define RUBY_DTRACE_FIND_REQUIRE_ENTRY_ENABLED() 0
25 #define RUBY_DTRACE_FIND_REQUIRE_ENTRY(arg0, arg1, arg2) do { } while(0)
26
27 #define RUBY_DTRACE_FIND_REQUIRE_RETURN_ENABLED() 0
28 #define RUBY_DTRACE_FIND_REQUIRE_RETURN(arg0, arg1, arg2) do { } while(0)
29
30 #define RUBY_DTRACE_LOAD_ENTRY_ENABLED() 0
31 #define RUBY_DTRACE_LOAD_ENTRY(arg0, arg1, arg2) do { } while(0)
32
33 #define RUBY_DTRACE_LOAD_RETURN_ENABLED() 0
34 #define RUBY_DTRACE_LOAD_RETURN(arg0, arg1, arg2) do { } while(0)
35
36 #define RUBY_DTRACE_RAISE_ENABLED() 0
37 #define RUBY_DTRACE_RAISE(arg0, arg1, arg2) do { } while(0)
38
39 #define RUBY_DTRACE_OBJECT_CREATE_ENABLED() 0
40 #define RUBY_DTRACE_OBJECT_CREATE(arg0, arg1, arg2) do { } while(0)
41
42 #define RUBY_DTRACE_ARRAY_CREATE_ENABLED() 0
43 #define RUBY_DTRACE_ARRAY_CREATE(arg0, arg1, arg2) do { } while(0)
44
45 #define RUBY_DTRACE_HASH_CREATE_ENABLED() 0
46 #define RUBY_DTRACE_HASH_CREATE(arg0, arg1, arg2) do { } while(0)
47
48 #define RUBY_DTRACE_STRING_CREATE_ENABLED() 0
49 #define RUBY_DTRACE_STRING_CREATE(arg0, arg1, arg2) do { } while(0)
50
51 #define RUBY_DTRACE_SYMBOL_CREATE_ENABLED() 0
52 #define RUBY_DTRACE_SYMBOL_CREATE(arg0, arg1, arg2) do { } while(0)
53
54 #define RUBY_DTRACE_PARSE_BEGIN_ENABLED() 0
55 #define RUBY_DTRACE_PARSE_BEGIN(arg0, arg1) do { } while(0)
56
57 #define RUBY_DTRACE_PARSE_END_ENABLED() 0
58 #define RUBY_DTRACE_PARSE_END(arg0, arg1) do { } while(0)
59
60 #if VM_COLLECT_USAGE_DETAILS
61 #define RUBY_DTRACE_INSN_ENABLED() 0
62 #define RUBY_DTRACE_INSN(arg0) do { } while(0)
63 #define RUBY_DTRACE_INSN_OPERAND_ENABLED() 0
64 #define RUBY_DTRACE_INSN_OPERAND(arg0, arg1) do { } while(0)
65 #endif
66
67 #define RUBY_DTRACE_GC_MARK_BEGIN_ENABLED() 0
68 #define RUBY_DTRACE_GC_MARK_BEGIN() do { } while(0)
69
70 #define RUBY_DTRACE_GC_MARK_END_ENABLED() 0
71 #define RUBY_DTRACE_GC_MARK_END() do { } while(0)
72
73 #define RUBY_DTRACE_GC_SWEEP_BEGIN_ENABLED() 0
74 #define RUBY_DTRACE_GC_SWEEP_BEGIN() do { } while(0)
75
76 #define RUBY_DTRACE_GC_SWEEP_END_ENABLED() 0
77 #define RUBY_DTRACE_GC_SWEEP_END() do { } while(0)
78
79 #define RUBY_DTRACE_METHOD_CACHE_CLEAR_ENABLED() 0
80 #define RUBY_DTRACE_METHOD_CACHE_CLEAR(arg0, arg1, arg2) do { } while(0)
81
82 #endif /* _PROBES_H */
83
vm_opts.h