Mehul Choube wrote:
> Hi,
> 
> Yes but that is my last resort.
> Also, I have other values also like:
> 
> io::wait-done
> /self->waits/
> {
>       self->elapsed = ((timestamp - self->waits) / 1000000);
>       @[guid, pid, tid, args[2]->fi_pathname] = sum(this->elapsed);
>       self->waits = 0;
> }
> 
> But now it will have to be:
> 
> @[self->Data1, self->Data2, self->Data3, self->Data4, pid, tid, 
> args[2]->fi_pathname] = sum(this->elapsed);
> 
> Right?

Something like that.  You'll probably have to use the elements inside
Data4[].

It might be helpful to use a #define to hide the expansion, so you can
just say GUID(self->guid), or some such.

-- 
James Carlson         42.703N 71.076W         <carls...@workingcode.com>
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to