You can certainly access typed arguments from USDT probes. Can you send
the full script? If you're using the conninfo_t you may want to take a look
at what I did in the iSCSI target provider and some scripts that Brendan
Gregg wrote that use the provider.
Adam
On Wed, Sep 05, 2007 at 12:16:50PM -0700, Terry Dontje wrote:
> Is trying to access a typed argument from a USDT probe allowed?
> I have a script that does "printf("%s\n", copyinstr(args[0]->ci_protocol);"
> and I get the error message of "dtrace: failed to compile script mpiconn.d:
> line 12: failed to resolve translated type for args[0]"?
>
> --td
>
>
> --
> This message posted from opensolaris.org
> _______________________________________________
> dtrace-discuss mailing list
> [email protected]
--
Adam Leventhal, FishWorks http://blogs.sun.com/ahl
_______________________________________________
dtrace-discuss mailing list
[email protected]