coresight: tmc: Limit the trace to available data
authorSuzuki K Poulose <suzuki.poulose@arm.com>
Tue, 21 Jun 2016 16:10:51 +0000 (17:10 +0100)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Tue, 6 Sep 2016 14:24:32 +0000 (08:24 -0600)
commit32bfbafe1db68d72f1a6b4debbcd4c50175a5fe6
treecbca59850cc85c859802b18ef2ff9382893fccd7
parent47b0969652bdd1d0c2869373bd45ae3f2bbaa5af
coresight: tmc: Limit the trace to available data

At present the ETF or ETR gives out the entire device
buffer, even if there is less or even no trace data
available. This patch limits the trace data given out to
the actual trace data collected.

Cc: mathieu.poirier@linaro.org
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/hwtracing/coresight/coresight-tmc-etf.c
drivers/hwtracing/coresight/coresight-tmc-etr.c
drivers/hwtracing/coresight/coresight-tmc.c
drivers/hwtracing/coresight/coresight-tmc.h
This page took 0.024863 seconds and 5 git commands to generate.