Sorry for not RTFM and not looking into the binary file that we were writing out ...
Now I am using: tracemem( copyin(self->bufp,self->size),100); to print the data out. According to the DTrace guide, tracemem's description is: void tracemem(address, size_t nbytes) The tracemem() action takes a D expression as its first argument, address, and a constant as its second argument, nbytes. tracemem() copies the memory from the address specified by addr into the directed buffer for the length specified by nbytes. I am getting "tracemem( ) argument #2 must be a non-zero positive integral constant expression" when I do: tracemem(copyin(self->bufp,self->size),self->size); Is it possible to do the above in other ways? Thanks in advance, -- prasad -- This message posted from opensolaris.org _______________________________________________ dtrace-discuss mailing list [email protected]
