> > tracemem(copyin(self->bufp,self->size),self->size);
> > 
> > Is it possible to do the above in other ways?
> 
> Unfortunately not. Each record must be of a fixed a predetermined size so
> you can't trace a variable amount of data in the way that you'd like.

But tracing more than self->size does not cause any trouble. So you
could just use large enough static size (if the size is not so big that
it would slow down dtrace too much).

-- 
        Vlad

Attachment: pgpoivNuXmuGw.pgp
Description: PGP signature

_______________________________________________
dtrace-discuss mailing list
[email protected]

Reply via email to