From: ko1@... Date: 2018-12-10T06:56:50+00:00 Subject: [ruby-core:90399] [Ruby trunk Feature#14813] [PATCH] gc.c: make gc_enter+gc_exit pairs dtrace probes, too Issue #14813 has been updated by ko1 (Koichi Sasada). sorry to left this issue. I have no strong idea. If it will help for systemtap user. I don't care. (I feel changinge "gc_enter" to "GC_ENTER" is a bit difficult to read, but I understand why...). ---------------------------------------- Feature #14813: [PATCH] gc.c: make gc_enter+gc_exit pairs dtrace probes, too https://bugs.ruby-lang.org/issues/14813#change-75529 * Author: normalperson (Eric Wong) * Status: Open * Priority: Normal * Assignee: ko1 (Koichi Sasada) * Target version: ---------------------------------------- gc.c: make gc_enter+gc_exit pairs dtrace probes, too I would like to use these with systemtap to gather min/max/avg/variance data for gc_*_continue functions. I prefer to use systemtap/dtrace and not modify or load extra Ruby code to use built-in tracing. Systemtap also has aggregate functionality built in for @min/@max/@avg and @hist_log for generating histograms: https://80x24.org/spew/20180602135820.6686-1-e@80x24.org/raw (work-in-progress) I will add documentation to probes.d and doc/dtrace_probes.rdoc if accepted. ---Files-------------------------------- 0001-gc.c-make-gc_enter-gc_exit-pairs-dtrace-probes-too.patch (4.94 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: