adding SDT probe functions with 6+ DTrace arguments
George Neville-Neil
gnn at freebsd.org
Thu May 30 13:02:59 UTC 2013
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.
Best,
George
More information about the freebsd-dtrace
mailing list