[tip:perf/core] perf vendor events intel: Add uncore_arb JSON support

From: tip-bot for Andi Kleen
Date: Wed Apr 05 2017 - 01:51:01 EST


Commit-ID: af34cb4fad1ba08db199ef1b0a529549e041dd25
Gitweb: http://git.kernel.org/tip/af34cb4fad1ba08db199ef1b0a529549e041dd25
Author: Andi Kleen <ak@xxxxxxxxxxxxxxx>
AuthorDate: Wed, 29 Mar 2017 17:20:28 -0700
Committer: Andi Kleen <ak@xxxxxxxxxxxxxxx>
CommitDate: Thu, 30 Mar 2017 13:35:41 -0700

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@xxxxxxxxxx
Link: http://lkml.kernel.org/n/tip-stq5ly95z2qioggp9bfaqe0h@xxxxxxxxxxxxxx
Signed-off-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>
---
tools/perf/pmu-events/jevents.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/tools/perf/pmu-events/jevents.c b/tools/perf/pmu-events/jevents.c
index 81f2ef3..3a151c3 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" },
{}
};