aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel
diff options
context:
space:
mode:
authorKan Liang <kan.liang@intel.com>2015-04-02 04:12:57 -0400
committerIngo Molnar <mingo@kernel.org>2015-04-17 03:59:07 -0400
commit78d504bcd769cc496f63b626f507039eab2316b7 (patch)
tree1e39d615ac88114b967069c810e3acd05c45642e /arch/x86/kernel
parent645523960102fa0ac0578d070630e49ab05f06d1 (diff)
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.c2
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)
3275 hw_cache_extra_regs[C(NODE)][C(OP_WRITE)][C(RESULT_ACCESS)] = HSW_DEMAND_WRITE| 3275 hw_cache_extra_regs[C(NODE)][C(OP_WRITE)][C(RESULT_ACCESS)] = HSW_DEMAND_WRITE|
3276 BDW_L3_MISS_LOCAL|HSW_SNOOP_DRAM; 3276 BDW_L3_MISS_LOCAL|HSW_SNOOP_DRAM;
3277 3277
3278 intel_pmu_lbr_init_snb(); 3278 intel_pmu_lbr_init_hsw();
3279 3279
3280 x86_pmu.event_constraints = intel_bdw_event_constraints; 3280 x86_pmu.event_constraints = intel_bdw_event_constraints;
3281 x86_pmu.pebs_constraints = intel_hsw_pebs_event_constraints; 3281 x86_pmu.pebs_constraints = intel_hsw_pebs_event_constraints;