Change soft-fail to use the config, rather than env
[rbx.git] / tools / dtrace / method-trace.d
blobf6890f48f2c695abe1e28d8af670c2b19e43dba8
1 /*
2 * method trace
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 :)
7 * Example invocation:
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));