commit | ae3fabcda00de54029b5342a3d6d82d65e7c4e6b | [log] [tgz] |
---|---|---|
author | Mike Leach <mike.leach@linaro.org> | Mon Jan 23 10:41:23 2017 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jan 25 11:46:42 2017 +0100 |
tree | 4e9fb58499f1562e82921c486b784421b2458039 | |
parent | f09444639099584bc4784dfcd85ada67c6f33e0f [diff] |
coresight: etm4x: Fix enabling of cycle accurate tracing in perf. Using perf record 'cyclacc' option in cs_etm event was not setting up cycle accurate trace correctly. Corrects bit set in TRCCONFIGR to enable cycle accurate trace. Programs TRCCCCTLR with a valid threshold value as required by ETMv4 spec. Signed-off-by: Mike Leach <mike.leach@linaro.org> Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>