[PATCH v2 03/17] coresight: trbe: Add a helper to calculate the trace generated