Sha256: 740b0cd2dcfe912755815ae64bf55285bfda58e9e33c8dd21e0262c130266766
Contents?: true
Size: 577 Bytes
Versions: 2
Compression:
Stored size: 577 Bytes
Contents
/* * method-cache-clear.d dtrace probe * * Prints invalidation Class, Source File, and Line Number to STDOUT. * * Example Usage: * * $ sudo dtrace -q -s ./method-cache-clear.d -p <pid of running ruby process> * global test/busted_test.rb 78 * Hello test/busted_test.rb 66 * * More DTrace/Ruby Examples: * * http://magazine.rubyist.net/?Ruby200SpecialEn-dtrace * * Documentation: * * https://github.com/ruby/ruby/blob/trunk/doc/dtrace_probes.rdoc */ ruby$target:::method-cache-clear /arg1/ { printf("%s %s %d\n", copyinstr(arg0), copyinstr(arg1), arg2); }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
busted-0.2.0 | dtrace/probes/examples/method-cache-clear.d |
busted-0.1.0 | dtrace/probes/examples/method-cache-clear.d |