Ruby
3.1.0dev(2021-09-10revisionb76ad15ed0da636161de0243c547ee1e6fc95681)
|
#include <sys/sdt.h>
Go to the source code of this file.
Macros | |
#define | _SDT_HAS_SEMAPHORES 1 |
#define | STAP_HAS_SEMAPHORES 1 /* deprecated */ |
#define | RUBY_DTRACE_METHOD_ENTRY_ENABLED() __builtin_expect (ruby_method__entry_semaphore, 0) |
#define | RUBY_DTRACE_METHOD_ENTRY(arg1, arg2, arg3, arg4) DTRACE_PROBE4 (ruby, method__entry, arg1, arg2, arg3, arg4) |
#define | RUBY_DTRACE_METHOD_RETURN_ENABLED() __builtin_expect (ruby_method__return_semaphore, 0) |
#define | RUBY_DTRACE_METHOD_RETURN(arg1, arg2, arg3, arg4) DTRACE_PROBE4 (ruby, method__return, arg1, arg2, arg3, arg4) |
#define | RUBY_DTRACE_CMETHOD_ENTRY_ENABLED() __builtin_expect (ruby_cmethod__entry_semaphore, 0) |
#define | RUBY_DTRACE_CMETHOD_ENTRY(arg1, arg2, arg3, arg4) DTRACE_PROBE4 (ruby, cmethod__entry, arg1, arg2, arg3, arg4) |
#define | RUBY_DTRACE_CMETHOD_RETURN_ENABLED() __builtin_expect (ruby_cmethod__return_semaphore, 0) |
#define | RUBY_DTRACE_CMETHOD_RETURN(arg1, arg2, arg3, arg4) DTRACE_PROBE4 (ruby, cmethod__return, arg1, arg2, arg3, arg4) |
#define | RUBY_DTRACE_REQUIRE_ENTRY_ENABLED() __builtin_expect (ruby_require__entry_semaphore, 0) |
#define | RUBY_DTRACE_REQUIRE_ENTRY(arg1, arg2, arg3) DTRACE_PROBE3 (ruby, require__entry, arg1, arg2, arg3) |
#define | RUBY_DTRACE_REQUIRE_RETURN_ENABLED() __builtin_expect (ruby_require__return_semaphore, 0) |
#define | RUBY_DTRACE_REQUIRE_RETURN(arg1, arg2, arg3) DTRACE_PROBE3 (ruby, require__return, arg1, arg2, arg3) |
#define | RUBY_DTRACE_FIND_REQUIRE_ENTRY_ENABLED() __builtin_expect (ruby_find__require__entry_semaphore, 0) |
#define | RUBY_DTRACE_FIND_REQUIRE_ENTRY(arg1, arg2, arg3) DTRACE_PROBE3 (ruby, find__require__entry, arg1, arg2, arg3) |
#define | RUBY_DTRACE_FIND_REQUIRE_RETURN_ENABLED() __builtin_expect (ruby_find__require__return_semaphore, 0) |
#define | RUBY_DTRACE_FIND_REQUIRE_RETURN(arg1, arg2, arg3) DTRACE_PROBE3 (ruby, find__require__return, arg1, arg2, arg3) |
#define | RUBY_DTRACE_LOAD_ENTRY_ENABLED() __builtin_expect (ruby_load__entry_semaphore, 0) |
#define | RUBY_DTRACE_LOAD_ENTRY(arg1, arg2, arg3) DTRACE_PROBE3 (ruby, load__entry, arg1, arg2, arg3) |
#define | RUBY_DTRACE_LOAD_RETURN_ENABLED() __builtin_expect (ruby_load__return_semaphore, 0) |
#define | RUBY_DTRACE_LOAD_RETURN(arg1, arg2, arg3) DTRACE_PROBE3 (ruby, load__return, arg1, arg2, arg3) |
#define | RUBY_DTRACE_RAISE_ENABLED() __builtin_expect (ruby_raise_semaphore, 0) |
#define | RUBY_DTRACE_RAISE(arg1, arg2, arg3) DTRACE_PROBE3 (ruby, raise, arg1, arg2, arg3) |
#define | RUBY_DTRACE_OBJECT_CREATE_ENABLED() __builtin_expect (ruby_object__create_semaphore, 0) |
#define | RUBY_DTRACE_OBJECT_CREATE(arg1, arg2, arg3) DTRACE_PROBE3 (ruby, object__create, arg1, arg2, arg3) |
#define | RUBY_DTRACE_ARRAY_CREATE_ENABLED() __builtin_expect (ruby_array__create_semaphore, 0) |
#define | RUBY_DTRACE_ARRAY_CREATE(arg1, arg2, arg3) DTRACE_PROBE3 (ruby, array__create, arg1, arg2, arg3) |
#define | RUBY_DTRACE_HASH_CREATE_ENABLED() __builtin_expect (ruby_hash__create_semaphore, 0) |
#define | RUBY_DTRACE_HASH_CREATE(arg1, arg2, arg3) DTRACE_PROBE3 (ruby, hash__create, arg1, arg2, arg3) |
#define | RUBY_DTRACE_STRING_CREATE_ENABLED() __builtin_expect (ruby_string__create_semaphore, 0) |
#define | RUBY_DTRACE_STRING_CREATE(arg1, arg2, arg3) DTRACE_PROBE3 (ruby, string__create, arg1, arg2, arg3) |
#define | RUBY_DTRACE_SYMBOL_CREATE_ENABLED() __builtin_expect (ruby_symbol__create_semaphore, 0) |
#define | RUBY_DTRACE_SYMBOL_CREATE(arg1, arg2, arg3) DTRACE_PROBE3 (ruby, symbol__create, arg1, arg2, arg3) |
#define | RUBY_DTRACE_PARSE_BEGIN_ENABLED() __builtin_expect (ruby_parse__begin_semaphore, 0) |
#define | RUBY_DTRACE_PARSE_BEGIN(arg1, arg2) DTRACE_PROBE2 (ruby, parse__begin, arg1, arg2) |
#define | RUBY_DTRACE_PARSE_END_ENABLED() __builtin_expect (ruby_parse__end_semaphore, 0) |
#define | RUBY_DTRACE_PARSE_END(arg1, arg2) DTRACE_PROBE2 (ruby, parse__end, arg1, arg2) |
#define | RUBY_DTRACE_GC_MARK_BEGIN_ENABLED() __builtin_expect (ruby_gc__mark__begin_semaphore, 0) |
#define | RUBY_DTRACE_GC_MARK_BEGIN() DTRACE_PROBE (ruby, gc__mark__begin) |
#define | RUBY_DTRACE_GC_MARK_END_ENABLED() __builtin_expect (ruby_gc__mark__end_semaphore, 0) |
#define | RUBY_DTRACE_GC_MARK_END() DTRACE_PROBE (ruby, gc__mark__end) |
#define | RUBY_DTRACE_GC_SWEEP_BEGIN_ENABLED() __builtin_expect (ruby_gc__sweep__begin_semaphore, 0) |
#define | RUBY_DTRACE_GC_SWEEP_BEGIN() DTRACE_PROBE (ruby, gc__sweep__begin) |
#define | RUBY_DTRACE_GC_SWEEP_END_ENABLED() __builtin_expect (ruby_gc__sweep__end_semaphore, 0) |
#define | RUBY_DTRACE_GC_SWEEP_END() DTRACE_PROBE (ruby, gc__sweep__end) |
Functions | |
__extension__ unsigned short ruby_method__entry_semaphore | __attribute__ ((unused)) __attribute__((section(".probes"))) |
#define RUBY_DTRACE_ARRAY_CREATE | ( | arg1, | |
arg2, | |||
arg3 | |||
) | DTRACE_PROBE3 (ruby, array__create, arg1, arg2, arg3) |
#define RUBY_DTRACE_ARRAY_CREATE_ENABLED | ( | ) | __builtin_expect (ruby_array__create_semaphore, 0) |
#define RUBY_DTRACE_CMETHOD_ENTRY | ( | arg1, | |
arg2, | |||
arg3, | |||
arg4 | |||
) | DTRACE_PROBE4 (ruby, cmethod__entry, arg1, arg2, arg3, arg4) |
#define RUBY_DTRACE_CMETHOD_ENTRY_ENABLED | ( | ) | __builtin_expect (ruby_cmethod__entry_semaphore, 0) |
#define RUBY_DTRACE_CMETHOD_RETURN | ( | arg1, | |
arg2, | |||
arg3, | |||
arg4 | |||
) | DTRACE_PROBE4 (ruby, cmethod__return, arg1, arg2, arg3, arg4) |
#define RUBY_DTRACE_CMETHOD_RETURN_ENABLED | ( | ) | __builtin_expect (ruby_cmethod__return_semaphore, 0) |
#define RUBY_DTRACE_FIND_REQUIRE_ENTRY | ( | arg1, | |
arg2, | |||
arg3 | |||
) | DTRACE_PROBE3 (ruby, find__require__entry, arg1, arg2, arg3) |
#define RUBY_DTRACE_FIND_REQUIRE_ENTRY_ENABLED | ( | ) | __builtin_expect (ruby_find__require__entry_semaphore, 0) |
#define RUBY_DTRACE_FIND_REQUIRE_RETURN | ( | arg1, | |
arg2, | |||
arg3 | |||
) | DTRACE_PROBE3 (ruby, find__require__return, arg1, arg2, arg3) |
#define RUBY_DTRACE_FIND_REQUIRE_RETURN_ENABLED | ( | ) | __builtin_expect (ruby_find__require__return_semaphore, 0) |
#define RUBY_DTRACE_GC_MARK_BEGIN | ( | ) | DTRACE_PROBE (ruby, gc__mark__begin) |
#define RUBY_DTRACE_GC_MARK_BEGIN_ENABLED | ( | ) | __builtin_expect (ruby_gc__mark__begin_semaphore, 0) |
#define RUBY_DTRACE_GC_MARK_END | ( | ) | DTRACE_PROBE (ruby, gc__mark__end) |
#define RUBY_DTRACE_GC_MARK_END_ENABLED | ( | ) | __builtin_expect (ruby_gc__mark__end_semaphore, 0) |
#define RUBY_DTRACE_GC_SWEEP_BEGIN | ( | ) | DTRACE_PROBE (ruby, gc__sweep__begin) |
#define RUBY_DTRACE_GC_SWEEP_BEGIN_ENABLED | ( | ) | __builtin_expect (ruby_gc__sweep__begin_semaphore, 0) |
#define RUBY_DTRACE_GC_SWEEP_END | ( | ) | DTRACE_PROBE (ruby, gc__sweep__end) |
#define RUBY_DTRACE_GC_SWEEP_END_ENABLED | ( | ) | __builtin_expect (ruby_gc__sweep__end_semaphore, 0) |
#define RUBY_DTRACE_HASH_CREATE | ( | arg1, | |
arg2, | |||
arg3 | |||
) | DTRACE_PROBE3 (ruby, hash__create, arg1, arg2, arg3) |
#define RUBY_DTRACE_HASH_CREATE_ENABLED | ( | ) | __builtin_expect (ruby_hash__create_semaphore, 0) |
#define RUBY_DTRACE_LOAD_ENTRY | ( | arg1, | |
arg2, | |||
arg3 | |||
) | DTRACE_PROBE3 (ruby, load__entry, arg1, arg2, arg3) |
#define RUBY_DTRACE_LOAD_ENTRY_ENABLED | ( | ) | __builtin_expect (ruby_load__entry_semaphore, 0) |
#define RUBY_DTRACE_LOAD_RETURN | ( | arg1, | |
arg2, | |||
arg3 | |||
) | DTRACE_PROBE3 (ruby, load__return, arg1, arg2, arg3) |
#define RUBY_DTRACE_LOAD_RETURN_ENABLED | ( | ) | __builtin_expect (ruby_load__return_semaphore, 0) |
#define RUBY_DTRACE_METHOD_ENTRY | ( | arg1, | |
arg2, | |||
arg3, | |||
arg4 | |||
) | DTRACE_PROBE4 (ruby, method__entry, arg1, arg2, arg3, arg4) |
#define RUBY_DTRACE_METHOD_ENTRY_ENABLED | ( | ) | __builtin_expect (ruby_method__entry_semaphore, 0) |
#define RUBY_DTRACE_METHOD_RETURN | ( | arg1, | |
arg2, | |||
arg3, | |||
arg4 | |||
) | DTRACE_PROBE4 (ruby, method__return, arg1, arg2, arg3, arg4) |
#define RUBY_DTRACE_METHOD_RETURN_ENABLED | ( | ) | __builtin_expect (ruby_method__return_semaphore, 0) |
#define RUBY_DTRACE_OBJECT_CREATE | ( | arg1, | |
arg2, | |||
arg3 | |||
) | DTRACE_PROBE3 (ruby, object__create, arg1, arg2, arg3) |
#define RUBY_DTRACE_OBJECT_CREATE_ENABLED | ( | ) | __builtin_expect (ruby_object__create_semaphore, 0) |
#define RUBY_DTRACE_PARSE_BEGIN | ( | arg1, | |
arg2 | |||
) | DTRACE_PROBE2 (ruby, parse__begin, arg1, arg2) |
#define RUBY_DTRACE_PARSE_BEGIN_ENABLED | ( | ) | __builtin_expect (ruby_parse__begin_semaphore, 0) |
#define RUBY_DTRACE_PARSE_END | ( | arg1, | |
arg2 | |||
) | DTRACE_PROBE2 (ruby, parse__end, arg1, arg2) |
#define RUBY_DTRACE_PARSE_END_ENABLED | ( | ) | __builtin_expect (ruby_parse__end_semaphore, 0) |
#define RUBY_DTRACE_RAISE | ( | arg1, | |
arg2, | |||
arg3 | |||
) | DTRACE_PROBE3 (ruby, raise, arg1, arg2, arg3) |
#define RUBY_DTRACE_RAISE_ENABLED | ( | ) | __builtin_expect (ruby_raise_semaphore, 0) |
#define RUBY_DTRACE_REQUIRE_ENTRY | ( | arg1, | |
arg2, | |||
arg3 | |||
) | DTRACE_PROBE3 (ruby, require__entry, arg1, arg2, arg3) |
#define RUBY_DTRACE_REQUIRE_ENTRY_ENABLED | ( | ) | __builtin_expect (ruby_require__entry_semaphore, 0) |
#define RUBY_DTRACE_REQUIRE_RETURN | ( | arg1, | |
arg2, | |||
arg3 | |||
) | DTRACE_PROBE3 (ruby, require__return, arg1, arg2, arg3) |
#define RUBY_DTRACE_REQUIRE_RETURN_ENABLED | ( | ) | __builtin_expect (ruby_require__return_semaphore, 0) |
#define RUBY_DTRACE_STRING_CREATE | ( | arg1, | |
arg2, | |||
arg3 | |||
) | DTRACE_PROBE3 (ruby, string__create, arg1, arg2, arg3) |
#define RUBY_DTRACE_STRING_CREATE_ENABLED | ( | ) | __builtin_expect (ruby_string__create_semaphore, 0) |
#define RUBY_DTRACE_SYMBOL_CREATE | ( | arg1, | |
arg2, | |||
arg3 | |||
) | DTRACE_PROBE3 (ruby, symbol__create, arg1, arg2, arg3) |
#define RUBY_DTRACE_SYMBOL_CREATE_ENABLED | ( | ) | __builtin_expect (ruby_symbol__create_semaphore, 0) |
__extension__ unsigned short ruby_gc__sweep__end_semaphore __attribute__ | ( | (unused) | ) |