Ruby  2.1.10p492(2016-04-01revision54464)
Macros
probes.h File Reference
#include "vm_opts.h"

Go to the source code of this file.

Macros

#define DTRACE_PROBES_DISABLED   1
 
#define RUBY_DTRACE_METHOD_ENTRY_ENABLED()   0
 
#define RUBY_DTRACE_METHOD_ENTRY(arg0, arg1, arg2, arg3)   do { } while(0)
 
#define RUBY_DTRACE_METHOD_RETURN_ENABLED()   0
 
#define RUBY_DTRACE_METHOD_RETURN(arg0, arg1, arg2, arg3)   do { } while(0)
 
#define RUBY_DTRACE_CMETHOD_ENTRY_ENABLED()   0
 
#define RUBY_DTRACE_CMETHOD_ENTRY(arg0, arg1, arg2, arg3)   do { } while(0)
 
#define RUBY_DTRACE_CMETHOD_RETURN_ENABLED()   0
 
#define RUBY_DTRACE_CMETHOD_RETURN(arg0, arg1, arg2, arg3)   do { } while(0)
 
#define RUBY_DTRACE_REQUIRE_ENTRY_ENABLED()   0
 
#define RUBY_DTRACE_REQUIRE_ENTRY(arg0, arg1, arg2)   do { } while(0)
 
#define RUBY_DTRACE_REQUIRE_RETURN_ENABLED()   0
 
#define RUBY_DTRACE_REQUIRE_RETURN(arg0, arg1, arg2)   do { } while(0)
 
#define RUBY_DTRACE_FIND_REQUIRE_ENTRY_ENABLED()   0
 
#define RUBY_DTRACE_FIND_REQUIRE_ENTRY(arg0, arg1, arg2)   do { } while(0)
 
#define RUBY_DTRACE_FIND_REQUIRE_RETURN_ENABLED()   0
 
#define RUBY_DTRACE_FIND_REQUIRE_RETURN(arg0, arg1, arg2)   do { } while(0)
 
#define RUBY_DTRACE_LOAD_ENTRY_ENABLED()   0
 
#define RUBY_DTRACE_LOAD_ENTRY(arg0, arg1, arg2)   do { } while(0)
 
#define RUBY_DTRACE_LOAD_RETURN_ENABLED()   0
 
#define RUBY_DTRACE_LOAD_RETURN(arg0, arg1, arg2)   do { } while(0)
 
#define RUBY_DTRACE_RAISE_ENABLED()   0
 
#define RUBY_DTRACE_RAISE(arg0, arg1, arg2)   do { } while(0)
 
#define RUBY_DTRACE_OBJECT_CREATE_ENABLED()   0
 
#define RUBY_DTRACE_OBJECT_CREATE(arg0, arg1, arg2)   do { } while(0)
 
#define RUBY_DTRACE_ARRAY_CREATE_ENABLED()   0
 
#define RUBY_DTRACE_ARRAY_CREATE(arg0, arg1, arg2)   do { } while(0)
 
#define RUBY_DTRACE_HASH_CREATE_ENABLED()   0
 
#define RUBY_DTRACE_HASH_CREATE(arg0, arg1, arg2)   do { } while(0)
 
#define RUBY_DTRACE_STRING_CREATE_ENABLED()   0
 
#define RUBY_DTRACE_STRING_CREATE(arg0, arg1, arg2)   do { } while(0)
 
#define RUBY_DTRACE_SYMBOL_CREATE_ENABLED()   0
 
#define RUBY_DTRACE_SYMBOL_CREATE(arg0, arg1, arg2)   do { } while(0)
 
#define RUBY_DTRACE_PARSE_BEGIN_ENABLED()   0
 
#define RUBY_DTRACE_PARSE_BEGIN(arg0, arg1)   do { } while(0)
 
#define RUBY_DTRACE_PARSE_END_ENABLED()   0
 
#define RUBY_DTRACE_PARSE_END(arg0, arg1)   do { } while(0)
 
#define RUBY_DTRACE_GC_MARK_BEGIN_ENABLED()   0
 
#define RUBY_DTRACE_GC_MARK_BEGIN()   do { } while(0)
 
#define RUBY_DTRACE_GC_MARK_END_ENABLED()   0
 
#define RUBY_DTRACE_GC_MARK_END()   do { } while(0)
 
#define RUBY_DTRACE_GC_SWEEP_BEGIN_ENABLED()   0
 
#define RUBY_DTRACE_GC_SWEEP_BEGIN()   do { } while(0)
 
#define RUBY_DTRACE_GC_SWEEP_END_ENABLED()   0
 
#define RUBY_DTRACE_GC_SWEEP_END()   do { } while(0)
 
#define RUBY_DTRACE_METHOD_CACHE_CLEAR_ENABLED()   0
 
#define RUBY_DTRACE_METHOD_CACHE_CLEAR(arg0, arg1, arg2)   do { } while(0)
 

Macro Definition Documentation

◆ DTRACE_PROBES_DISABLED

#define DTRACE_PROBES_DISABLED   1

Definition at line 6 of file probes.h.

◆ RUBY_DTRACE_ARRAY_CREATE

#define RUBY_DTRACE_ARRAY_CREATE (   arg0,
  arg1,
  arg2 
)    do { } while(0)

Definition at line 43 of file probes.h.

Referenced by ary_new(), and empty_ary_alloc().

◆ RUBY_DTRACE_ARRAY_CREATE_ENABLED

#define RUBY_DTRACE_ARRAY_CREATE_ENABLED ( )    0

Definition at line 42 of file probes.h.

Referenced by ary_new(), and empty_ary_alloc().

◆ RUBY_DTRACE_CMETHOD_ENTRY

#define RUBY_DTRACE_CMETHOD_ENTRY (   arg0,
  arg1,
  arg2,
  arg3 
)    do { } while(0)

Definition at line 14 of file probes.h.

◆ RUBY_DTRACE_CMETHOD_ENTRY_ENABLED

#define RUBY_DTRACE_CMETHOD_ENTRY_ENABLED ( )    0

Definition at line 13 of file probes.h.

◆ RUBY_DTRACE_CMETHOD_RETURN

#define RUBY_DTRACE_CMETHOD_RETURN (   arg0,
  arg1,
  arg2,
  arg3 
)    do { } while(0)

Definition at line 16 of file probes.h.

◆ RUBY_DTRACE_CMETHOD_RETURN_ENABLED

#define RUBY_DTRACE_CMETHOD_RETURN_ENABLED ( )    0

Definition at line 15 of file probes.h.

◆ RUBY_DTRACE_FIND_REQUIRE_ENTRY

#define RUBY_DTRACE_FIND_REQUIRE_ENTRY (   arg0,
  arg1,
  arg2 
)    do { } while(0)

Definition at line 25 of file probes.h.

Referenced by rb_require_safe().

◆ RUBY_DTRACE_FIND_REQUIRE_ENTRY_ENABLED

#define RUBY_DTRACE_FIND_REQUIRE_ENTRY_ENABLED ( )    0

Definition at line 24 of file probes.h.

Referenced by rb_require_safe().

◆ RUBY_DTRACE_FIND_REQUIRE_RETURN

#define RUBY_DTRACE_FIND_REQUIRE_RETURN (   arg0,
  arg1,
  arg2 
)    do { } while(0)

Definition at line 28 of file probes.h.

Referenced by rb_require_safe().

◆ RUBY_DTRACE_FIND_REQUIRE_RETURN_ENABLED

#define RUBY_DTRACE_FIND_REQUIRE_RETURN_ENABLED ( )    0

Definition at line 27 of file probes.h.

Referenced by rb_require_safe().

◆ RUBY_DTRACE_GC_MARK_BEGIN

#define RUBY_DTRACE_GC_MARK_BEGIN ( )    do { } while(0)

Definition at line 68 of file probes.h.

Referenced by gc_prof_mark_timer_start().

◆ RUBY_DTRACE_GC_MARK_BEGIN_ENABLED

#define RUBY_DTRACE_GC_MARK_BEGIN_ENABLED ( )    0

Definition at line 67 of file probes.h.

Referenced by gc_prof_mark_timer_start().

◆ RUBY_DTRACE_GC_MARK_END

#define RUBY_DTRACE_GC_MARK_END ( )    do { } while(0)

Definition at line 71 of file probes.h.

Referenced by gc_prof_mark_timer_stop().

◆ RUBY_DTRACE_GC_MARK_END_ENABLED

#define RUBY_DTRACE_GC_MARK_END_ENABLED ( )    0

Definition at line 70 of file probes.h.

Referenced by gc_prof_mark_timer_stop().

◆ RUBY_DTRACE_GC_SWEEP_BEGIN

#define RUBY_DTRACE_GC_SWEEP_BEGIN ( )    do { } while(0)

Definition at line 74 of file probes.h.

Referenced by gc_prof_sweep_timer_start().

◆ RUBY_DTRACE_GC_SWEEP_BEGIN_ENABLED

#define RUBY_DTRACE_GC_SWEEP_BEGIN_ENABLED ( )    0

Definition at line 73 of file probes.h.

Referenced by gc_prof_sweep_timer_start().

◆ RUBY_DTRACE_GC_SWEEP_END

#define RUBY_DTRACE_GC_SWEEP_END ( )    do { } while(0)

Definition at line 77 of file probes.h.

Referenced by gc_prof_sweep_timer_stop().

◆ RUBY_DTRACE_GC_SWEEP_END_ENABLED

#define RUBY_DTRACE_GC_SWEEP_END_ENABLED ( )    0

Definition at line 76 of file probes.h.

Referenced by gc_prof_sweep_timer_stop().

◆ RUBY_DTRACE_HASH_CREATE

#define RUBY_DTRACE_HASH_CREATE (   arg0,
  arg1,
  arg2 
)    do { } while(0)

Definition at line 46 of file probes.h.

Referenced by core_hash_from_ary(), and empty_hash_alloc().

◆ RUBY_DTRACE_HASH_CREATE_ENABLED

#define RUBY_DTRACE_HASH_CREATE_ENABLED ( )    0

Definition at line 45 of file probes.h.

Referenced by core_hash_from_ary(), and empty_hash_alloc().

◆ RUBY_DTRACE_LOAD_ENTRY

#define RUBY_DTRACE_LOAD_ENTRY (   arg0,
  arg1,
  arg2 
)    do { } while(0)

Definition at line 31 of file probes.h.

Referenced by rb_f_load().

◆ RUBY_DTRACE_LOAD_ENTRY_ENABLED

#define RUBY_DTRACE_LOAD_ENTRY_ENABLED ( )    0

Definition at line 30 of file probes.h.

Referenced by rb_f_load().

◆ RUBY_DTRACE_LOAD_RETURN

#define RUBY_DTRACE_LOAD_RETURN (   arg0,
  arg1,
  arg2 
)    do { } while(0)

Definition at line 34 of file probes.h.

Referenced by rb_f_load().

◆ RUBY_DTRACE_LOAD_RETURN_ENABLED

#define RUBY_DTRACE_LOAD_RETURN_ENABLED ( )    0

Definition at line 33 of file probes.h.

Referenced by rb_f_load().

◆ RUBY_DTRACE_METHOD_CACHE_CLEAR

#define RUBY_DTRACE_METHOD_CACHE_CLEAR (   arg0,
  arg1,
  arg2 
)    do { } while(0)

Definition at line 80 of file probes.h.

Referenced by rb_clear_method_cache_by_class().

◆ RUBY_DTRACE_METHOD_CACHE_CLEAR_ENABLED

#define RUBY_DTRACE_METHOD_CACHE_CLEAR_ENABLED ( )    0

Definition at line 79 of file probes.h.

Referenced by rb_clear_method_cache_by_class().

◆ RUBY_DTRACE_METHOD_ENTRY

#define RUBY_DTRACE_METHOD_ENTRY (   arg0,
  arg1,
  arg2,
  arg3 
)    do { } while(0)

Definition at line 9 of file probes.h.

◆ RUBY_DTRACE_METHOD_ENTRY_ENABLED

#define RUBY_DTRACE_METHOD_ENTRY_ENABLED ( )    0

Definition at line 8 of file probes.h.

◆ RUBY_DTRACE_METHOD_RETURN

#define RUBY_DTRACE_METHOD_RETURN (   arg0,
  arg1,
  arg2,
  arg3 
)    do { } while(0)

Definition at line 11 of file probes.h.

◆ RUBY_DTRACE_METHOD_RETURN_ENABLED

#define RUBY_DTRACE_METHOD_RETURN_ENABLED ( )    0

Definition at line 10 of file probes.h.

◆ RUBY_DTRACE_OBJECT_CREATE

#define RUBY_DTRACE_OBJECT_CREATE (   arg0,
  arg1,
  arg2 
)    do { } while(0)

Definition at line 40 of file probes.h.

Referenced by rb_obj_alloc().

◆ RUBY_DTRACE_OBJECT_CREATE_ENABLED

#define RUBY_DTRACE_OBJECT_CREATE_ENABLED ( )    0

Definition at line 39 of file probes.h.

Referenced by rb_obj_alloc().

◆ RUBY_DTRACE_PARSE_BEGIN

#define RUBY_DTRACE_PARSE_BEGIN (   arg0,
  arg1 
)    do { } while(0)

Definition at line 55 of file probes.h.

Referenced by yycompile0().

◆ RUBY_DTRACE_PARSE_BEGIN_ENABLED

#define RUBY_DTRACE_PARSE_BEGIN_ENABLED ( )    0

Definition at line 54 of file probes.h.

Referenced by yycompile0().

◆ RUBY_DTRACE_PARSE_END

#define RUBY_DTRACE_PARSE_END (   arg0,
  arg1 
)    do { } while(0)

Definition at line 58 of file probes.h.

Referenced by yycompile0().

◆ RUBY_DTRACE_PARSE_END_ENABLED

#define RUBY_DTRACE_PARSE_END_ENABLED ( )    0

Definition at line 57 of file probes.h.

Referenced by yycompile0().

◆ RUBY_DTRACE_RAISE

#define RUBY_DTRACE_RAISE (   arg0,
  arg1,
  arg2 
)    do { } while(0)

Definition at line 37 of file probes.h.

Referenced by setup_exception().

◆ RUBY_DTRACE_RAISE_ENABLED

#define RUBY_DTRACE_RAISE_ENABLED ( )    0

Definition at line 36 of file probes.h.

Referenced by setup_exception().

◆ RUBY_DTRACE_REQUIRE_ENTRY

#define RUBY_DTRACE_REQUIRE_ENTRY (   arg0,
  arg1,
  arg2 
)    do { } while(0)

Definition at line 19 of file probes.h.

Referenced by rb_require_safe().

◆ RUBY_DTRACE_REQUIRE_ENTRY_ENABLED

#define RUBY_DTRACE_REQUIRE_ENTRY_ENABLED ( )    0

Definition at line 18 of file probes.h.

Referenced by rb_require_safe().

◆ RUBY_DTRACE_REQUIRE_RETURN

#define RUBY_DTRACE_REQUIRE_RETURN (   arg0,
  arg1,
  arg2 
)    do { } while(0)

Definition at line 22 of file probes.h.

Referenced by rb_require_safe().

◆ RUBY_DTRACE_REQUIRE_RETURN_ENABLED

#define RUBY_DTRACE_REQUIRE_RETURN_ENABLED ( )    0

Definition at line 21 of file probes.h.

Referenced by rb_require_safe().

◆ RUBY_DTRACE_STRING_CREATE

#define RUBY_DTRACE_STRING_CREATE (   arg0,
  arg1,
  arg2 
)    do { } while(0)

Definition at line 49 of file probes.h.

Referenced by empty_str_alloc(), rb_str_resurrect(), and str_new0().

◆ RUBY_DTRACE_STRING_CREATE_ENABLED

#define RUBY_DTRACE_STRING_CREATE_ENABLED ( )    0

Definition at line 48 of file probes.h.

Referenced by empty_str_alloc(), rb_str_resurrect(), and str_new0().

◆ RUBY_DTRACE_SYMBOL_CREATE

#define RUBY_DTRACE_SYMBOL_CREATE (   arg0,
  arg1,
  arg2 
)    do { } while(0)

Definition at line 52 of file probes.h.

Referenced by register_symid_str().

◆ RUBY_DTRACE_SYMBOL_CREATE_ENABLED

#define RUBY_DTRACE_SYMBOL_CREATE_ENABLED ( )    0

Definition at line 51 of file probes.h.

Referenced by register_symid_str().