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

From: Suzuki K Poulose
Date: Wed Jan 13 2021 - 04:49:58 EST


On 1/13/21 4:18 AM, Anshuman Khandual wrote:
While starting off the etm event, just abort and truncate the perf record
if the perf handle as no space left. This avoids configuring both source
and sink devices in case the data cannot be consumed in perf.

Cc: Mathieu Poirier <mathieu.poirier@xxxxxxxxxx>
Cc: Mike Leach <mike.leach@xxxxxxxxxx>
Cc: Suzuki K Poulose <suzuki.poulose@xxxxxxx>
Signed-off-by: Anshuman Khandual <anshuman.khandual@xxxxxxx>

Reviewed-by: Suzuki K Poulose <suzuki.poulose@xxxxxxx>