RFR(M): 8032462 Change the linux SDT implementation to use USDT2 instead of USDT1
Staffan Larsen
staffan.larsen at oracle.com
Tue Jan 28 11:02:04 PST 2014
On 28 jan 2014, at 15:51, Keith McGuigan <kmcguigan at twitter.com> wrote:
> Hi Staffan,
>
> It looks ok to me.
Thanks Keith!
> LInux has a 'dtrace' command now?
Yeah, it’s only there to provide the most basic dtrace compatibility for systemtap. I don’t think it can run dtrace scripts, but it can generate the header files we need.
/Staffan
>
> --
> - Keith
>
>
> On Tue, Jan 28, 2014 at 3:52 AM, Staffan Larsen <staffan.larsen at oracle.com> wrote:
> Still looking for reviewers for this change.
>
> Thanks,
> /Staffan
>
> On 23 jan 2014, at 08:36, Staffan Larsen <staffan.larsen at oracle.com> wrote:
>
> > The only usage today of the DTrace macros under the USDT1 define is the SDT provider on linux. This can be changed to use the USDT2 style by preprocessing the .d files into .h files with the dtrace utility in the same way as we do on solaris and OS X.
> >
> > I have also moved the provider definition files (hotspot.d, hotspot_jni.d and hs_private.d) to a common directory instead of having one identical copy per platform.
> >
> > I would really like to have a review from somebody on the IcedTea team since I haven’t been able to fully verify this change by running systemtap.
> >
> > Once this change is done, we can proceed to remove the USDT1 style macros.
> >
> > webrev: http://cr.openjdk.java.net/~sla/8032462/webrev.00/
> > bug: https://bugs.openjdk.java.net/browse/JDK-8032462
> >
> > testing: vm.dtrace.testlist in nsk
> >
> > Thanks,
> > /Staffan
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20140128/126875d6/attachment.html
More information about the serviceability-dev
mailing list