Added dtrace support to trace process lifecycle, and found a bug.