I used to be able to stop tracing Safari once NSApplicationMain was entered. This was with 'dtrace -c...'. I'm no longer able to do so with exec-success, stop and attaching to the stopped process, e.g.

./d Safari startup.d stop-nsapp.d

where startup.d:

BEGIN
{
  start = timestamp;
}

END
{
  this->total = timestamp - start;
printf("Total: %u.%06ums\n", this->total / 1000000, this->total % 1000000);
}

and stop-nsapp.d:

pid$target::NSApplicationMain:entry
{
  exit(0);
}

Any suggestions on how to fix this?

        Thanks, Joel

---
fastest mac firefox!
http://wagerlabs.com

_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to