From: mame@... Date: 2020-07-08T08:43:37+00:00 Subject: [ruby-core:99084] [Ruby master Feature#17018] Show cfunc frames in rb_profile_frames() Issue #17018 has been reported by mame (Yusuke Endoh). ---------------------------------------- Feature #17018: Show cfunc frames in rb_profile_frames() https://bugs.ruby-lang.org/issues/17018 * Author: mame (Yusuke Endoh) * Status: Open * Priority: Normal * Target version: 3.0 ---------------------------------------- `rb_profile_frames()`, which is the backend of [stackprof](https://github.com/tmm1/stackprof), shows only ruby frames, so sometimes it is difficult to find a bottleneck in an application. This will be gradually solved by "rubifying" all builtin methods (#16254), but I guess it will take a few years at least. So, how about showing cfunc frames in the profiled result that returns `rb_profile_frames()`? Here is a patch and an example stackprof result: https://github.com/ruby/ruby/pull/3299 -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>