rb_profile_frame_classpath only recognize class singleton methods, not module singleton methods
Proposed patch: https://github.com/ruby/ruby/pull/3084
SomeClass.method is properly named, but
is displayed as
#<Module:0x000055eb5d95adc8>.method which makes
This particularly impact StackProf.
it's a problem at least since Ruby 2.5, maybe older but there's not point backporting that far back.
Updated by tenderlovemaking (Aaron Patterson) about 2 years ago
- Backport changed from 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN to 2.5: REQUIRED, 2.6: REQUIRED, 2.7: REQUIRED
I've merged this in cbe4f75ef802f13d05f94e42274b65a062bd3666. It's been a bug for a while so I'm going to mark back port for 2.5, 2.6, and 2.7. 🙇🏻♂️
Updated by nagachika (Tomoyuki Chikanaga) almost 2 years ago
- Backport changed from 2.5: REQUIRED, 2.6: REQUIRED, 2.7: REQUIRED to 2.5: REQUIRED, 2.6: REQUIRED, 2.7: DONE
ruby_2_7 12391cdbe11f3fbeb3b04c30b944139e5bbd9ea6 merged revision(s) cbe4f75ef802f13d05f94e42274b65a062bd3666.