Project

General

Profile

Actions

Feature #14813

open

[PATCH] gc.c: make gc_enter+gc_exit pairs dtrace probes, too

Added by normalperson (Eric Wong) over 6 years ago. Updated 8 months ago.

Status:
Assigned
Target version:
-
[ruby-core:87360]

Description

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

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0