ruby/ext
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
..
-test- [Feature #10602] Add new API rb_profile_thread_frames() 2023-10-31 11:16:18 +09:00
bigdecimal [ruby/bigdecimal] Bump up to 3.1.5 2023-10-04 02:50:15 +00:00
cgi/escape [ruby/cgi] Add TruffleRuby support and add it in CI 2023-05-29 19:33:38 +00:00
continuation
coverage [Feature #19719] Universal Parser 2023-06-12 18:23:48 +09:00
date [ruby/date] [DOC] Fix link 2023-09-20 19:48:28 +00:00
digest
erb/escape
etc [ruby/etc] Start 1.4.3 2023-10-29 07:15:24 +00:00
fcntl [ruby/fcntl] Expose Fcntl::VERSION 2023-04-21 04:21:05 +00:00
fiddle [ruby/fiddle] Suppress -Wundef warnings on arm64 macOS and Windows 2023-09-17 22:42:50 +09:00
io [ruby/io-nonblock] Don't define nonblock methods if they are defined by core. 2023-10-23 22:53:00 +00:00
json [flori/json] Re-generate parser.c 2023-07-19 00:02:58 +09:00
monitor `rb_bug` prints a newline after the message 2023-05-20 21:43:30 +09:00
nkf [ruby/nkf] Bump up nkf-0.1.3 2023-05-25 09:11:36 +00:00
objspace Switch mid dump to dump_append_string_value 2023-10-12 10:22:32 +02:00
openssl [ruby/openssl] Ruby/OpenSSL 3.2.0 2023-09-21 20:01:23 +00:00
pathname
psych [ruby/psych] Bump up v5.1.1.1 2023-10-16 11:55:01 +00:00
pty Hide the usage of `rb_io_t` where possible. (#7880) 2023-06-01 14:23:30 +09:00
rbconfig/sizeof
ripper Stop creating ripper.h because it's not used 2023-10-20 12:56:04 +09:00
rubyvm
socket Do not use pthread_setaffinity_np on s390x 2023-10-25 20:04:18 +09:00
stringio [ruby/stringio] StringIO#pread: handle 0 length like IO#pread 2023-10-05 07:44:08 +00:00
strscan [ruby/strscan] Fix indentation in strscan.c 2023-07-28 10:12:52 -04:00
syslog [ruby/syslog] Improve the version extraction 2023-04-25 01:51:26 +00:00
win32
win32ole [ruby/win32ole] Reuse WIN32OLE_VERSION for gem version 2023-04-21 04:46:10 +00:00
zlib [ruby/zlib] Check for z_size_t along with {crc,adler}32_z in 2023-10-26 09:56:21 +00:00
.document [ruby/io-console] [DOC] Split .document files to sync with ruby/ruby 2023-10-22 11:09:06 +09:00
Setup
Setup.atheos racc/cparse is extracted from ruby/ruby repository 2023-06-08 18:05:07 +09:00
Setup.nt racc/cparse is extracted from ruby/ruby repository 2023-06-08 18:05:07 +09:00
extmk.rb Use `File::NULL` instead of hard coded null device names 2023-07-10 19:21:47 +09:00