rb_add_event_hook 1170 include/ruby/ruby.h void rb_add_event_hook(rb_event_hook_func_t func, rb_event_flag_t events, rb_add_event_hook 3557 thread.c rb_add_event_hook(call_trace_func, RUBY_EVENT_ALL, trace); rb_add_event_hook 3894 thread.c rb_add_event_hook(update_coverage, RUBY_EVENT_COVERAGE, Qnil);