[PATCH 0 of 3] Add support for dtrace compatible sdt probes on GNU/Linux

Mark Wielaard mjw at redhat.com
Wed Jul 18 12:03:01 PDT 2012


On Wed, 2012-07-18 at 11:41 -0700, serguei.spitsyn at oracle.com wrote:
> On 7/18/12 10:23 AM, Mark Wielaard wrote:
> 
> > On Wed, Jul 18, 2012 at 10:10:43AM -0700, serguei.spitsyn at oracle.com wrote:
> > > This work includes investigation to find proper linux machine,
> > > installation of the systemTap, building and testing, and so,
> > > needs some engineering resources.
> > I can do that, the patch has already been included in various
> > distros so it shouldn't be a problem. Just let me know what you
> > need.
> > 
> > > Also, it needs a new unit test and submitting a CCC request.
> > > You only can help by providing a test for the patch.
> > Sure, I was looking for existing dtrace tests to see if I can
> > match them. Do you have a good example I can follow?
>
> Normally a dtrace test needs 4 parts:
>   java test program, d-script, shell script and README

How/Where does this hook into the openjdk testsuite?

d-scripts obviously aren't supported on GNU/Linux, so that part seems
not easily reusable. And the functionality that is being added is just
for the probe points, not for anything higher level. Detecting the sdt
probes are there can be done with anything that can read elf notes,
stap, gdb, readelf, etc. It seems none of these are used yet in the
openjdk/hotspot/test suite (there seems to be only 1 lonely
servicability test), but I can try to hook something up. Is it all jtreg
based? How do you check in the testsuite which features are enabled in a
build?

Thanks,

Mark



More information about the serviceability-dev mailing list