RFC: Test set for systemtap instrumentation

Jon VanAlten jon.vanalten at redhat.com
Wed Mar 3 08:00:13 PST 2010


Hi,

Sorry my earlier email didn't make it clear, I was hoping someone could take a look at this and see if it is an appropriate addition to icedtea.  Patch is against icedtea6 (from a week ago or so), presumably would look pretty much the same for 7.

cheers,

jon


----- "jon vanalten" <jon.vanalten at redhat.com> wrote:

> 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/20100303/fa48e95b/jstaptest.patch 


More information about the distro-pkg-dev mailing list