]> Git Repo - linux.git/commitdiff
perf/x86/intel: Add Broadwell support for the LBR callstack
authorKan Liang <[email protected]>
Thu, 2 Apr 2015 08:12:57 +0000 (04:12 -0400)
committerIngo Molnar <[email protected]>
Fri, 17 Apr 2015 07:59:07 +0000 (09:59 +0200)
Same as Haswell, Broadwell also support the LBR callstack.

Signed-off-by: Kan Liang <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Andi Kleen <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/kernel/cpu/perf_event_intel.c

index 9da2400c2ec37b7ea164e7a17f3bea68b172cbe6..219d3fb423a17a1bb30e99d565ab01de552f49e7 100644 (file)
@@ -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;
This page took 0.06142 seconds and 4 git commands to generate.