Thanks Chad!
How do I pass the 2nd script as argument into the first, though?
Thanks, Joel
On Aug 28, 2009, at 8:52 PM, Chad Mynhier wrote:
You can do this with two separate DTrace invocations. The first
catches the exec of firefox-bin and fires off the second. Something
like this for the first one:
proc:::exec-success
/ execname == "firefox-bin" /
{
stop();
system("/tmp/trace-firefox.d -p %d", pid);
}
---
fastest mac firefox!
http://wagerlabs.com
_______________________________________________
dtrace-discuss mailing list
[email protected]