summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2017-03-29 17:20:28 -0700
committerAndi Kleen <ak@linux.intel.com>2017-03-30 13:35:41 -0700
commitaf34cb4fad1ba08db199ef1b0a529549e041dd25 (patch)
treec641c8eb3c216ad4337aec28c7980b82f3cb7fd5 /tools
parent92c6de0f10a80e4936fac04148bd3783a7c2b9f8 (diff)
downloadlinux-af34cb4fad1ba08db199ef1b0a529549e041dd25.tar.bz2
perf vendor events intel: Add uncore_arb JSON support
The JSON lists call the box iMPH-U, while perf calls it arb. Add conversion support to json to convert the unit properly. Cc: jolsa@kernel.org Link: http://lkml.kernel.org/n/tip-stq5ly95z2qioggp9bfaqe0h@git.kernel.org Signed-off-by: Andi Kleen <ak@linux.intel.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/pmu-events/jevents.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/pmu-events/jevents.c b/tools/perf/pmu-events/jevents.c
index 81f2ef3b15cf..3a151c35852d 100644
--- a/tools/perf/pmu-events/jevents.c
+++ b/tools/perf/pmu-events/jevents.c
@@ -195,6 +195,7 @@ static struct map {
{ "CBO", "uncore_cbox" },
{ "QPI LL", "uncore_qpi" },
{ "SBO", "uncore_sbox" },
+ { "iMPH-U", "uncore_arb" },
{}
};