Thread suspend/resume tracing