diff options
author | 2013-07-18 17:02:23 +0800 | |
---|---|---|
committer | 2013-09-02 08:42:47 +0200 | |
commit | 53ad0447208d3f5897f673ca0b16c776583eedba (patch) | |
tree | 6966be991efc98edce985854defe71b62ff4f116 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core (diff) | |
download | linux-dev-53ad0447208d3f5897f673ca0b16c776583eedba.tar.xz linux-dev-53ad0447208d3f5897f673ca0b16c776583eedba.zip |
perf/x86: use INTEL_UEVENT_EXTRA_REG to define MSR_OFFCORE_RSP_X
Silvermont (22nm Atom) has two offcore response configuration MSRs,
unlike other Intel CPU, its event code for MSR_OFFCORE_RSP_1 is 0x02b7.
To avoid complicating intel_fixup_er(), use INTEL_UEVENT_EXTRA_REG to
define MSR_OFFCORE_RSP_X. So intel_fixup_er() can find the event code
for OFFCORE_RSP_N by x86_pmu.extra_regs[N].event.
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1374138144-17278-1-git-send-email-zheng.z.yan@intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions