Merge "Store exiting thread ids and names while tracing to output later." into lmp-mr1-dev