On Aug 28, 2009, at 8:52 PM, Chad Mynhier wrote:

proc:::exec-success
/ execname == "firefox-bin" /
{
      stop();
      system("/tmp/trace-firefox.d -p %d", pid);
}


All the examples I have seen hardcode /tmp/trace-firefox.d.

How do I make it dynamic, though? For example, in

dtrace -s 1.d -s 2.d -s 3.d

How do i grab 2.d and 3.d in 1.d, assuming 1.d is the script with exec- success?

        Thanks, Joel

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




_______________________________________________
dtrace-discuss mailing list
[email protected]

Reply via email to