Sha256: 8215f4fb1e647c7b9148fe4d75c45937f20d1302c2ef56cfd7be8e7c93ff43f9
Contents?: true
Size: 573 Bytes
Versions: 3
Compression:
Stored size: 573 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: * * http://ruby-doc.org/core-2.1.0/doc/dtrace_probes_rdoc.html */ ruby$target:::method-cache-clear /arg1/ { printf("%s %s %d\n", copyinstr(arg0), copyinstr(arg1), arg2); }
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
busted-0.2.3 | dtrace/probes/examples/method-cache-clear.d |
busted-0.2.2 | dtrace/probes/examples/method-cache-clear.d |
busted-0.2.1 | dtrace/probes/examples/method-cache-clear.d |