Solved! Re: Lots and lots of system time

Brandon Allbery allbery.b at gmail.com
Sat Nov 26 07:46:34 PST 2011


On Sat, Nov 26, 2011 at 08:42, Harald Hanche-Olsen <hanche at math.ntnu.no>wrote:

> syscall::connect*:entry
> syscall::connect*:return
>

I wonder if there's a better way to do that, in particular avoiding the
wildcards; I would suspect it ends up waking up on *every* syscall to do
the glob, which on a system-wide basis will be extremely expensive no
matter how much it's optimized.  Also, I would try to limit what processes
are getting traced.  DTrace isn't magic; if you hook a critical path
system-wide (and they don't come much more critical than the syscall
provider), you''re going to feel it.

-- 
brandon s allbery                                      allbery.b at gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20111126/4be50cbd/attachment.html>


More information about the macports-users mailing list