summaryrefslogtreecommitdiffstats
path: root/tools/perf/pmu-events/jevents.c
diff options
context:
space:
mode:
authorThomas Richter <tmricht@linux.ibm.com>2018-06-21 10:04:50 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2018-07-24 14:49:09 -0300
commit9bacbced0e32204deb8b9d011279f9beddd8c2ef (patch)
tree9d70cd00a5c9da2c3f4013135c9cb9b46075b3ce /tools/perf/pmu-events/jevents.c
parentb8b5ab52bc3a0423080783ae563801077f7ea400 (diff)
downloadtalos-op-linux-9bacbced0e32204deb8b9d011279f9beddd8c2ef.tar.gz
talos-op-linux-9bacbced0e32204deb8b9d011279f9beddd8c2ef.zip
perf list: Add s390 support for detailed PMU event description
Correct the support of detailed/verbose PMU event description by using the "Unit": keyword in the json files to address event names refering to the /sys/devices/cpum_[cs]f devices. Signed-off-by: Thomas Richter <tmricht@linux.ibm.com> Reviewed-by: Hendrik Brueckner <brueckner@linux.ibm.com> Cc: Heiko Carstens <heiko.carstens@de.ibm.com> Cc: Martin Schwidefsky <schwidefsky@de.ibm.com> Link: http://lkml.kernel.org/r/20180621080452.61012-2-tmricht@linux.ibm.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/pmu-events/jevents.c')
-rw-r--r--tools/perf/pmu-events/jevents.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/pmu-events/jevents.c b/tools/perf/pmu-events/jevents.c
index db3a594ee1e4..68c92bb599ee 100644
--- a/tools/perf/pmu-events/jevents.c
+++ b/tools/perf/pmu-events/jevents.c
@@ -233,6 +233,8 @@ static struct map {
{ "QPI LL", "uncore_qpi" },
{ "SBO", "uncore_sbox" },
{ "iMPH-U", "uncore_arb" },
+ { "CPU-M-CF", "cpum_cf" },
+ { "CPU-M-SF", "cpum_sf" },
{}
};
OpenPOWER on IntegriCloud