I totally agree that checking etr_buf is a better way. It solves my problem. I will upload a new patch soon.
- [PATCH] coresight: tmc-etr: Remove perf_data check. Yabin Cui
- Re: [PATCH] coresight: tmc-etr: Remove perf_data che... Suzuki K Poulose
- Re: [PATCH] coresight: tmc-etr: Remove perf_data... Yabin Cui