function recordToEvent(record)
        {
            return record.traceEvent();
        }
@param {?string} header
@param {!Map<!WebInspector.AsyncEventGroup, !Array<!WebInspector.TracingModel.AsyncEvent>>} asyncEvents