Test set for systemtap instrumentation
jon.vanalten at redhat.com
jon.vanalten at redhat.com
Wed Feb 24 13:50:19 PST 2010
Hi,
For the past little while, I've been putting together a set of tests confirming functionality of the systemtap support that was added by Mark Wielaard. Currently, it is able to test that probe aliases to markers in libjvm.so can be properly resolved by systemtap, and will fire when expected, for all probe aliases in hotspot.stp and hotspot_jni.stp. The attached patch would create a "tapset" directory under the "test" directory, containing all source files needed as well as a script that builds and runs the tests. Also, I've added comments regarding a necessary JVM option for a particular class of probes (not otherwise documented, but discovered during testing) to the appropriate probe descriptions in the hotspot_jni.stp tapset.
I'm planning on enhancing the script so that variables exposed at the probe points are checked for accuracy as well, but the point where I'm at now with all probes confirmed as firing seems a big milestone and I'd hate to lose what's here so far in a power surge or whatnot.
OK to commit?
cheers,
jon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jstaptest.patch
Type: text/x-patch
Size: 147631 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20100224/c32e0ab4/jstaptest.patch
More information about the distro-pkg-dev
mailing list