From: mame@ruby-lang.org
To: ruby-core@ruby-lang.org
Subject: [ruby-core:99365] [Ruby master Feature#17018] Show cfunc frames in rb_profile_frames()
Date: Tue, 28 Jul 2020 04:19:03 +0000 (UTC) [thread overview]
Message-ID: <redmine.journal-86768.20200728041901.18@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-17018.20200708084336.18@ruby-lang.org
Issue #17018 has been updated by mame (Yusuke Endoh).
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.
----------------------------------------
Feature #17018: Show cfunc frames in rb_profile_frames()
https://bugs.ruby-lang.org/issues/17018#change-86768
* Author: mame (Yusuke Endoh)
* Status: Closed
* 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/
prev parent reply other threads:[~2020-07-28 4:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-08 8:43 [ruby-core:99084] [Ruby master Feature#17018] Show cfunc frames in rb_profile_frames() mame
2020-07-28 4:19 ` mame [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.ruby-lang.org/en/community/mailing-lists/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=redmine.journal-86768.20200728041901.18@ruby-lang.org \
--to=ruby-core@ruby-lang.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).