Trace atomic transactions