Closed ivoanjo closed 2 years ago
It would be really cool to also have events for Garbage Collection shown in the traces.
Indeed, you should be able to get it with RUBY_INTERNAL_EVENT_GC_ENTER and RUBY_INTERNAL_EVENT_GC_EXIT e.g. https://github.com/Shopify/gctime/blob/6fe564fca08d834d6f2931816df91e2a61862a16/ext/gctime/gctime.c
RUBY_INTERNAL_EVENT_GC_ENTER
RUBY_INTERNAL_EVENT_GC_EXIT
It would be really cool to also have events for Garbage Collection shown in the traces.