[dtrace-discuss] invalid address (0x0) in action #2 at DIF offset 52

Madhusudhan Reddy amreddy_103 at yahoo.co.in
Fri Jan 19 04:38:43 PST 2007


Hi,
  Iam facing this strange problem when i execute the following dtrace script on on particular thread(tid ==1) where as it works perfectly with another thread(tid == 4).Can someone help me with this problem?
pid$1::SGetMsg:return
/tid == 1 && self->trace == 1/
{
        printf("SGetMsg Ptr=0x%p\n", arg3);
        printf("Sget Reurn val %x Thread id %d 3 \n",*(int*)copyin(arg3,4),tid);
}

The argument which iam trying to print is pointer to a pointer.
 
 
This message posted from opensolaris.org


More information about the dtrace-discuss mailing list