ruby/ext/-test-
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
..
RUBY_ALIGNOF Update the depend files 2023-02-28 09:09:00 -08:00
abi Stop defining `RUBY_ABI_VERSION` if released versions 2022-08-12 15:57:25 +09:00
arith_seq Update the depend files 2023-02-28 09:09:00 -08:00
array Update the depend files 2023-02-28 09:09:00 -08:00
bignum Update the depend files 2023-02-28 09:09:00 -08:00
bug-3571 Update the depend files 2023-02-28 09:09:00 -08:00
bug-5832 Update the depend files 2023-02-28 09:09:00 -08:00
bug-14834 Update the depend files 2023-02-28 09:09:00 -08:00
bug_reporter Update the depend files 2023-02-28 09:09:00 -08:00
class Update the depend files 2023-02-28 09:09:00 -08:00
cxxanyargs Update dependencies 2021-11-21 16:21:18 +09:00
debug [Feature #10602] Add new API rb_profile_thread_frames() 2023-10-31 11:16:18 +09:00
dln/empty Update the depend files 2023-02-28 09:09:00 -08:00
econv [Bug #18964] Update the code range of appended portion 2022-08-18 14:57:08 +09:00
enumerator_kw Update the depend files 2023-02-28 09:09:00 -08:00
eval respect current frame of `rb_eval_string` 2022-08-01 17:48:05 +09:00
exception Update the depend files 2023-02-28 09:09:00 -08:00
fatal Update the depend files 2023-02-28 09:09:00 -08:00
file Update the depend files 2023-02-28 09:09:00 -08:00
float Update the depend files 2023-02-28 09:09:00 -08:00
funcall Update the depend files 2023-02-28 09:09:00 -08:00
gvl/call_without_gvl Update the depend files 2023-02-28 09:09:00 -08:00
hash Update the depend files 2023-02-28 09:09:00 -08:00
integer Update the depend files 2023-02-28 09:09:00 -08:00
iseq_load Update the depend files 2023-02-28 09:09:00 -08:00
iter Update the depend files 2023-02-28 09:09:00 -08:00
load Update the depend files 2023-02-28 09:09:00 -08:00
marshal Update the depend files 2023-02-28 09:09:00 -08:00
memory_status Update the depend files 2023-02-28 09:09:00 -08:00
memory_view Update the depend files 2023-02-28 09:09:00 -08:00
method Update the depend files 2023-02-28 09:09:00 -08:00
notimplement Update the depend files 2023-02-28 09:09:00 -08:00
num2int Update the depend files 2023-02-28 09:09:00 -08:00
path_to_class Update the depend files 2023-02-28 09:09:00 -08:00
popen_deadlock Update the depend files 2023-02-28 09:09:00 -08:00
postponed_job Update the depend files 2023-02-28 09:09:00 -08:00
printf Update the depend files 2023-02-28 09:09:00 -08:00
proc Update the depend files 2023-02-28 09:09:00 -08:00
random Update the depend files 2023-02-28 09:09:00 -08:00
rational Update the depend files 2023-02-28 09:09:00 -08:00
rb_call_super_kw Update the depend files 2023-02-28 09:09:00 -08:00
recursion Update the depend files 2023-02-28 09:09:00 -08:00
regexp Update the depend files 2023-02-28 09:09:00 -08:00
scan_args Update the depend files 2023-02-28 09:09:00 -08:00
st `rb_bug` prints a newline after the message 2023-05-20 21:43:30 +09:00
string [Bug #19902] Update the coderange regarding the changed region 2023-09-26 15:35:40 +09:00
struct [Feature #19757] Add new API `rb_data_define` 2023-07-13 17:55:55 +09:00
symbol Update the depend files 2023-02-28 09:09:00 -08:00
thread/instrumentation [Bug#19161] Detect thread local storage specifier 2023-04-07 13:42:48 +09:00
thread_fd Update the depend files 2023-02-28 09:09:00 -08:00
time Update the depend files 2023-02-28 09:09:00 -08:00
tracepoint Update the depend files 2023-02-28 09:09:00 -08:00
typeddata Update the depend files 2023-02-28 09:09:00 -08:00
vm Update the depend files 2023-02-28 09:09:00 -08:00
wait Update the depend files 2023-02-28 09:09:00 -08:00
win32 Expand tabs [ci skip] 2022-07-21 09:42:04 -07:00
auto_ext.rb [ruby/fiddle] Create extconf header for MSVC 2021-09-05 17:31:46 +09:00