diff options
author | Kan Liang <kan.liang@intel.com> | 2015-04-02 10:12:57 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-04-17 09:59:07 +0200 |
commit | 78d504bcd769cc496f63b626f507039eab2316b7 (patch) | |
tree | 1e39d615ac88114b967069c810e3acd05c45642e /arch/x86/kernel | |
parent | perf/x86/intel/rapl: Fix energy counter measurements but supporing per domain... (diff) | |
download | linux-78d504bcd769cc496f63b626f507039eab2316b7.tar.xz linux-78d504bcd769cc496f63b626f507039eab2316b7.zip |
perf/x86/intel: Add Broadwell support for the LBR callstack
Same as Haswell, Broadwell also support the LBR callstack.
Signed-off-by: Kan Liang <kan.liang@intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Andi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/1427962377-40955-1-git-send-email-kan.liang@intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r-- | arch/x86/kernel/cpu/perf_event_intel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/perf_event_intel.c b/arch/x86/kernel/cpu/perf_event_intel.c index 9da2400c2ec3..219d3fb423a1 100644 --- a/arch/x86/kernel/cpu/perf_event_intel.c +++ b/arch/x86/kernel/cpu/perf_event_intel.c @@ -3275,7 +3275,7 @@ __init int intel_pmu_init(void) hw_cache_extra_regs[C(NODE)][C(OP_WRITE)][C(RESULT_ACCESS)] = HSW_DEMAND_WRITE| BDW_L3_MISS_LOCAL|HSW_SNOOP_DRAM; - intel_pmu_lbr_init_snb(); + intel_pmu_lbr_init_hsw(); x86_pmu.event_constraints = intel_bdw_event_constraints; x86_pmu.pebs_constraints = intel_hsw_pebs_event_constraints; |