perf/x86/intel/uncore: Add scaling units to the EP iMC events
authorAndi Kleen <ak@linux.intel.com>
Tue, 4 Nov 2014 01:00:26 +0000 (17:00 -0800)
committerIngo Molnar <mingo@kernel.org>
Sun, 16 Nov 2014 10:41:52 +0000 (11:41 +0100)
commitc0737ce453bdccd0d09aa4f916795533a4e02fef
tree4f1c3158494afa498b9aee69e8bfb570a24ce06a
parentf108c898ddae4bb1146ed9e46ce4470725d945c4
perf/x86/intel/uncore: Add scaling units to the EP iMC events

Add scaling to MB/s to the memory controller read/write
events for Sandy/IvyBridge/Haswell-EP similar to how the client
does. This makes the events easier to use from the
standard perf tool.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Link: http://lkml.kernel.org/r/1415062828-19759-2-git-send-email-andi@firstfloor.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/perf_event_intel_uncore_snbep.c