4 * This script prints a trace of what methods are entered as your ruby program is executing.
5 * Enhancements to indent the flow, etc, are pending :)
9 * $> sudo dtrace -s method-trace.d -c 'rbx ~/hello.rb'
12 #
pragma D option quiet
13 #
pragma D option dynvarsize
=250m
14 #
pragma D option bufsize
=64m
16 rubinius
$target
:::function-entry
18 printf("%s:%s\n", copyinstr(arg0
), copyinstr(arg1
));