]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
perf vendor events intel: Add uncore_arb JSON support
authorAndi Kleen <ak@linux.intel.com>
Thu, 30 Mar 2017 00:20:28 +0000 (17:20 -0700)
committerAndi Kleen <ak@linux.intel.com>
Thu, 30 Mar 2017 20:35:41 +0000 (13:35 -0700)
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>
tools/perf/pmu-events/jevents.c

index 81f2ef3b15cf7878c841c367a322d232a5809502..3a151c35852d4b814a858559fcd36d4659b80442 100644 (file)
@@ -195,6 +195,7 @@ static struct map {
        { "CBO", "uncore_cbox" },
        { "QPI LL", "uncore_qpi" },
        { "SBO", "uncore_sbox" },
+       { "iMPH-U", "uncore_arb" },
        {}
 };