[PATCH 07/13] perf vendor events intel: Add uncore_arb JSON support

From: Arnaldo Carvalho de Melo
Date: Tue Apr 04 2017 - 20:19:14 EST


From: Andi Kleen <ak@xxxxxxxxxxxxxxx>

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>
Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
---
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 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" },
{}
};

--
2.9.3