> I am trying to print data returned from a door call. The door_return function 
> has the following prototype
> 
>    int   door_return(char    *data_ptr,    size_t    data_size,
>     door_desc_t *desc_ptr, uint_t num_desc);
> 
> I need some assistance to print data pointed by data_ptr. I tried with 
> tracemem, I consistently get invalid address for all door_calls.

Remember that if you're trying to trace memory from user-land you'll have to do 
a copyin(). For example:

        tracemem(copyin(arg0, 64), 64);

Adam

--
Adam Leventhal, Fishworks                        http://blogs.sun.com/ahl

_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to