gc_tracer
gc_tracer copied to clipboard
Add GC::Tracer module.
https://github.com/ko1/gc_tracer/blob/master/ext/gc_tracer/gc_logging.c#L737 ``` ruby rb_define_module_function(mod, "setup_looging_custom_fields=", gc_tracer_setup_logging_custom_fields, 1); ``` I believe it should be `logging`, not `looging`...
I would love to use this on Windows if possible. ``` C:/Ruby215p273/bin/ruby.exe extconf.rb checking for rb_obj_gc_flags() in ruby/ruby.h... yes checking for sys/time.h... yes checking for sys/resource.h... no checking for time.h......
``` compiling gc_logging.c In file included from /usr/include/ruby-3.3.0/ruby/ruby.h:27, from gc_logging.c:5: gc_logging.c: In function ‘Init_gc_tracer_logging’: /usr/include/ruby-3.3.0/ruby/internal/anyargs.h:338:142: error: passing argument 3 of ‘rb_define_module_function_00’ from incompatible pointer type [-Wincompatible-pointer-types] 338 | #define rb_define_module_function(mod,...