(PS: another idea that comes along the same lines as a dumper function and IMO
would be helpful is an ''introspect'' function. Given an
argument:
introspect(probefunc)
it returns back the expected arguments for the probe func, their datastructures,
as well as the syntax on how to dereference them. If an intelligent copyinstr
comes out, this would be easy to write, and would solve a ton of problems with
using the syscall providers. I hesitate to say that scripts would write
themselves, but it sure would beat bouncing back and forth between documentation
and code (documentation which may be out of sync with the current version of
dtrace that you are using)
)
--
This message posted from opensolaris.org