]> 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)
commit11a36d5079e677437ca71074442f93e9ae543fa1
tree4ad7e71b3ba91349f08111a3c2bb431d0277fd47
parentf3dd4123b6d303130d9d37517152202c261d9dbd
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