Tracecounter code was only displaying the values from the first
4 PMU counters. This patch will display all 6 PMU counter values.
Change output strings L2CTR0, L2CTR1 to CTR4, CTR5 respectively.
Change-Id: I111355513bf30a2544bf10e4fbfda79f4cf2678c
Signed-off-by: Patrick Fay <pfay@codeaurora.org>
Tracecounter code was not disabling counters as early as possible
and enabling them as late as possible. Refine the logic so cycles
spent inside the handler are lower. This results in more accurate
per-process counter values.
Change-Id: I5a83028da3c747c30a9e5a0ea3003638beadffec
Signed-off-by: Neil Leeder <nleeder@codeaurora.org>