Daisuke Aritomo 4adf418be9 [Feature #10602] Add new API rb_profile_thread_frames()
Add a new API rb_profile_thread_frames(), which is essentialy a
per-thread version of rb_profile_frames().

While the original rb_profile_frames() always returns results about the
current active thread obtained by GET_EC(), this new API takes a Thread
to be profiled as an argument.

This should come in handy when profiling I/O-bound programs such as
webapps, since this new API allows us to learn about Threads performing
I/O (which do not have the GVL).

Profiling worker threads (such as Sidekiq workers) may be another
application.

Implements [Feature #10602]

Co-authored-by: Mike Perham <mike@perham.net>
2023-10-31 11:16:18 +09:00
..
2022-08-27 14:42:55 -07:00
2021-09-10 20:00:06 +09:00
2021-10-05 14:18:23 +09:00
2021-11-02 19:17:37 +09:00
2023-07-27 15:30:10 -07:00
2023-10-12 14:47:01 +09:00
2023-06-29 11:16:50 -04:00
2023-09-27 16:18:05 +09:00
2022-12-26 08:46:59 +09:00