/src/ruby/trace_point.rbinc
Line | Count | Source (jump to first uncovered line) |
1 | | // -*- c -*- |
2 | | // DO NOT MODIFY THIS FILE DIRECTLY. |
3 | | // auto-generated file |
4 | | // by ./tool/mk_builtin_loader.rb |
5 | | // with trace_point.rb |
6 | | #include "internal/compilers.h" /* for MAYBE_UNUSED */ |
7 | | #include "internal/warnings.h" /* for COMPILER_WARNING_PUSH */ |
8 | | #include "ruby/ruby.h" /* for VALUE */ |
9 | | #include "builtin.h" /* for RB_BUILTIN_FUNCTION */ |
10 | | struct rb_execution_context_struct; /* in vm_core.h */ |
11 | | |
12 | | void Init_builtin_trace_point(void) |
13 | 0 | { |
14 | | // table definition |
15 | 0 | static const struct rb_builtin_function trace_point_table[] = { |
16 | 0 | RB_BUILTIN_FUNCTION(0, tracepoint_new_s, tracepoint_new_s, 1), |
17 | 0 | RB_BUILTIN_FUNCTION(1, tracepoint_inspect, tracepoint_inspect, 0), |
18 | 0 | RB_BUILTIN_FUNCTION(2, tracepoint_stat_s, tracepoint_stat_s, 0), |
19 | 0 | RB_BUILTIN_FUNCTION(3, tracepoint_trace_s, tracepoint_trace_s, 1), |
20 | 0 | RB_BUILTIN_FUNCTION(4, tracepoint_allow_reentry, tracepoint_allow_reentry, 0), |
21 | 0 | RB_BUILTIN_FUNCTION(5, tracepoint_enable_m, tracepoint_enable_m, 3), |
22 | 0 | RB_BUILTIN_FUNCTION(6, tracepoint_disable_m, tracepoint_disable_m, 0), |
23 | 0 | RB_BUILTIN_FUNCTION(7, tracepoint_enabled_p, tracepoint_enabled_p, 0), |
24 | 0 | RB_BUILTIN_FUNCTION(8, tracepoint_attr_event, tracepoint_attr_event, 0), |
25 | 0 | RB_BUILTIN_FUNCTION(9, tracepoint_attr_lineno, tracepoint_attr_lineno, 0), |
26 | 0 | RB_BUILTIN_FUNCTION(10, tracepoint_attr_path, tracepoint_attr_path, 0), |
27 | 0 | RB_BUILTIN_FUNCTION(11, tracepoint_attr_parameters, tracepoint_attr_parameters, 0), |
28 | 0 | RB_BUILTIN_FUNCTION(12, tracepoint_attr_method_id, tracepoint_attr_method_id, 0), |
29 | 0 | RB_BUILTIN_FUNCTION(13, tracepoint_attr_callee_id, tracepoint_attr_callee_id, 0), |
30 | 0 | RB_BUILTIN_FUNCTION(14, tracepoint_attr_defined_class, tracepoint_attr_defined_class, 0), |
31 | 0 | RB_BUILTIN_FUNCTION(15, tracepoint_attr_binding, tracepoint_attr_binding, 0), |
32 | 0 | RB_BUILTIN_FUNCTION(16, tracepoint_attr_self, tracepoint_attr_self, 0), |
33 | 0 | RB_BUILTIN_FUNCTION(17, tracepoint_attr_return_value, tracepoint_attr_return_value, 0), |
34 | 0 | RB_BUILTIN_FUNCTION(18, tracepoint_attr_raised_exception, tracepoint_attr_raised_exception, 0), |
35 | 0 | RB_BUILTIN_FUNCTION(19, tracepoint_attr_eval_script, tracepoint_attr_eval_script, 0), |
36 | 0 | RB_BUILTIN_FUNCTION(20, tracepoint_attr_instruction_sequence, tracepoint_attr_instruction_sequence, 0), |
37 | 0 | RB_BUILTIN_FUNCTION(-1, NULL, NULL, 0), |
38 | 0 | }; |
39 | | |
40 | | // arity_check |
41 | 0 | COMPILER_WARNING_PUSH |
42 | 0 | #if GCC_VERSION_SINCE(5, 1, 0) || defined __clang__ |
43 | 0 | COMPILER_WARNING_ERROR(-Wincompatible-pointer-types) |
44 | 0 | #endif |
45 | 0 | if (0) rb_builtin_function_check_arity1(tracepoint_new_s); |
46 | 0 | if (0) rb_builtin_function_check_arity0(tracepoint_inspect); |
47 | 0 | if (0) rb_builtin_function_check_arity0(tracepoint_stat_s); |
48 | 0 | if (0) rb_builtin_function_check_arity1(tracepoint_trace_s); |
49 | 0 | if (0) rb_builtin_function_check_arity0(tracepoint_allow_reentry); |
50 | 0 | if (0) rb_builtin_function_check_arity3(tracepoint_enable_m); |
51 | 0 | if (0) rb_builtin_function_check_arity0(tracepoint_disable_m); |
52 | 0 | if (0) rb_builtin_function_check_arity0(tracepoint_enabled_p); |
53 | 0 | if (0) rb_builtin_function_check_arity0(tracepoint_attr_event); |
54 | 0 | if (0) rb_builtin_function_check_arity0(tracepoint_attr_lineno); |
55 | 0 | if (0) rb_builtin_function_check_arity0(tracepoint_attr_path); |
56 | 0 | if (0) rb_builtin_function_check_arity0(tracepoint_attr_parameters); |
57 | 0 | if (0) rb_builtin_function_check_arity0(tracepoint_attr_method_id); |
58 | 0 | if (0) rb_builtin_function_check_arity0(tracepoint_attr_callee_id); |
59 | 0 | if (0) rb_builtin_function_check_arity0(tracepoint_attr_defined_class); |
60 | 0 | if (0) rb_builtin_function_check_arity0(tracepoint_attr_binding); |
61 | 0 | if (0) rb_builtin_function_check_arity0(tracepoint_attr_self); |
62 | 0 | if (0) rb_builtin_function_check_arity0(tracepoint_attr_return_value); |
63 | 0 | if (0) rb_builtin_function_check_arity0(tracepoint_attr_raised_exception); |
64 | 0 | if (0) rb_builtin_function_check_arity0(tracepoint_attr_eval_script); |
65 | 0 | if (0) rb_builtin_function_check_arity0(tracepoint_attr_instruction_sequence); |
66 | 0 | COMPILER_WARNING_POP |
67 | | |
68 | | // load |
69 | 0 | rb_load_with_builtin_functions("trace_point", trace_point_table); |
70 | 0 | } |