Quoth Adam Leventhal on Fri, Dec 05, 2008 at 05:32:12PM -0800:
> Nice trick. Sounds like a good RFE for dtrace -G would be to generate some
> lint-friendly output.

I filed

        6782307 lint complains about user SDT probes

I came up with a better workaround, though: I added

        #ifdef lint
        /* LINTED */
        #define DTRACE_PROBE1(provider, name, arg0)
        #endif

to the top of the files defining the probe points.  I suspect this
technique could be used in sdt.h itself.


David
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to