cs-etm: account for each trace buffer in the queue
authorMathieu Poirier <mathieu.poirier@linaro.org>
Wed, 18 May 2016 18:58:26 +0000 (12:58 -0600)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Mon, 20 Jun 2016 17:16:08 +0000 (11:16 -0600)
commit7b4fe2ff5a850c70174381adbcf4fd32e41a969c
tree9da386c15f4c9e8b498c8e27c65b434d8fde2ed3
parentc14318faac87ba59c2ec8279e6328c774af3b723
cs-etm: account for each trace buffer in the queue

Function cs_etm__get_trace() picks up a single buffer from the current
queue.  As such when multiple buffers are present in the queue several
iteration of the fetch-decode block need to be run in order to process
all the trace data.

Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
tools/perf/util/cs-etm.c