Project

General

Profile

Actions

Feature #17018

closed

Show cfunc frames in rb_profile_frames()

Added by mame (Yusuke Endoh) over 4 years ago. Updated over 4 years ago.

Status:
Closed
Assignee:
-
Target version:
[ruby-core:99084]

Description

rb_profile_frames(), which is the backend of 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

Updated by mame (Yusuke Endoh) over 4 years ago

  • Status changed from Open to Closed

This ticket was discussed at the dev-meeting; there is no objection, and matz accepted. I've just merged my PR.

Actions

Also available in: Atom PDF

Like0
Like0