]> git.baikalelectronics.ru Git - kernel.git/commit
perf: cs-etm: Fix ETMv4 CONFIGR entry in perf.data file
authorMike Leach <mike.leach@linaro.org>
Wed, 2 Aug 2017 16:22:19 +0000 (10:22 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 15:35:43 +0000 (17:35 +0200)
commit8bd3db31d3e3944fb0a04b2c498a592e6ced6eb6
tree4ad7e71b3ba91349f08111a3c2bb431d0277fd47
parentb133e44bc9ae59edfdc8fb2cc79b5363fd420b5b
perf: cs-etm: Fix ETMv4 CONFIGR entry in perf.data file

The value passed into the perf.data file for the CONFIGR register in ETMv4
was incorrectly being set to the command line options/ETMv3 value.

Adds bit definitions and function to remap this value to the correct ETMv4
CONFIGR bit values for all selected options.

Signed-off-by: Mike Leach <mike.leach@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/coresight-pmu.h
tools/include/linux/coresight-pmu.h
tools/perf/arch/arm/util/cs-etm.c