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