Ruby DTrace probes and arguments
Back in time (8 more)
Probes and Arguments for all versions of Ruby DTrace
Probes
The probes that are currently in Ruby-DTrace
| Probe name | Description |
|---|---|
| function-entry | Probe that fires when a Ruby method is entered |
| function-return | Probe that fires when a Ruby method returns |
| raise | Probe that fires when a Ruby exception is raised |
| rescue | Probe that fires when a Ruby exception is rescued |
| line | Probe that fires for every line of Ruby executed |
| gc-begin | Probe that fires right before a GC cycle begins |
| gc-end | Probe that fires right after a GC cycle finishes |
| object-create-start | Probe that fires directly before a Ruby object is allocated |
| object-create-done | Probe that fires when Ruby is finished allocating an object |
| object-free | Probe that fires every time a Ruby object is freed |
| ruby-probe | Probe that can be fired from Ruby code (see below) |
Arguments
| Probe | args0 | args1 | args2 | args3 |
|---|---|---|---|---|
| function-entry | Ruby class | Method name | Source file | Line number |
| function-return | Ruby class | Method name | Source file | Line number |
| raise | Ruby class | Source file | Line number | – |
| rescue | Source file | Line number | - | – |
| line | Source file | Line number | - | – |
| gc-begin | - | - | - | – |
| gc-end | - | - | - | – |
| object-create-start | Ruby type | Source file | Line number | – |
| object-create-done | Ruby type | Source file | Line number | – |
| object-free | Ruby type | - | - | – |
| ruby-probe | Arbitrary string | Arbitrary string | - | – |