Hi All,
I have had 2 problems with tracemem() that I have, about one year ago,
posted to this
mailing list and received an underwhelming response.
The first is the requirement of a fixed constant size. My understanding
is that
dtrace needs a fixed size so that it knows about space requirements.
So, why not
add a third argument to tracemem? So tracemem becomes:
tracemem(addr, maxsize, nbytes)
where maxsize is the fixed constant, and nbytes must be <= maxsize?
Then tracemem
would only dump out nbytes worth of data.
The other problem is that tracemem output differs depending on whether
the data
is binary or all ascii. This is annoying, and causes parsing of the
output to be problematic
if output is sometimes all ascii, and sometimes binary.
I am willing to put in some time to fix this. How should I proceed?
max
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org