adding SDT probe functions with 6+ DTrace arguments
Mark Johnston
markj at freebsd.org
Thu May 30 13:56:22 UTC 2013
On Thu, May 30, 2013 at 09:02:54AM -0400, George Neville-Neil wrote:
>
> On May 30, 2013, at 2:14 , Brendan Gregg <brendan.gregg at joyent.com> wrote:
>
> > G'Day Mark,
> >
> > As this might be interesting: to check that DTRACE_PROBE7 worked, in
> > Solaris I had added an sdt:::test probe, which could be invoked by the
> > DTrace test suite (sdt/tst.sdtargs.c) by calling uadmin() with A_SDTTEST:
> >
> > case A_SDTTEST:
> > {
> > DTRACE_PROBE7(test, int, 1, int, 2, int, 3, int, 4, int, 5,
> > int, 6, int, 7);
> > break;
> > }
> >
> > Getting the tcp and ip providers working will be great.
> >
>
> Chiming in late. Yes, let's extend the SDT macros in line with what we've done
> already. This will also make it easy to MFC to 9 and 8.
Ok, thanks. I'll commit them later today. The network providers depend
on them, so I wanted to get them in first as well as fix the bugs
mentioned in my other email on this thread.
-Mark
More information about the freebsd-dtrace
mailing list