On Dec 3, 2007 11:54 AM, Adam Leventhal <[EMAIL PROTECTED]> wrote:
> It's not possible to trace all calls to a function accross all processes as
> they come and go, but what you could do is examine what system calls are
> made by svc_register() and then use the syscall provider to gather the data
> you need.

Would it be reasonable to consider adding probes to RPC library
functions (usr/src/lib/libnsl/rpc/*.c) to provide generic methods for
tracing RPC's?  While probes that aren't enabled have no impact to a
running process, I don't think I understand how the existence of the
probes gets registered with the kernel to understand the impact on
process startup.  That is, if libnsl had some USDT probes in it, would
it have a measurable impact on the startup time of programs that link
against libnsl?

My real area of concern is more around name services, but the same
issues would seem to apply.

-- 
Mike Gerdts
http://mgerdts.blogspot.com/
_______________________________________________
dtrace-discuss mailing list
[email protected]

Reply via email to