[PATCH V2 09/11] coresight: etm-perf: Truncate the perf record if handle has no space