[PATCH v3 05/16] coresight: trbe: Add a helper to calculate the trace generated