[dtrace-discuss] simple translator

Nigel S nigels at hotmail.com
Fri Jul 11 07:06:56 PDT 2008


Thanks Mike and  neuron, both of your suggestions worked out.

Following Mike's suggestion, this is what worked :

pid$target::setdata:return
{
        printf("\nit is %i ",(xlate < student_t * > (((student_t *)arg2)))->age);
}

(added just in case anyone else is curious to see the solution )


--
This message posted from opensolaris.org


More information about the dtrace-discuss mailing list