Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753057AbbDRKO7 (ORCPT ); Sat, 18 Apr 2015 06:14:59 -0400 Received: from terminus.zytor.com ([198.137.202.10]:40777 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752812AbbDRKOz (ORCPT ); Sat, 18 Apr 2015 06:14:55 -0400 Date: Sat, 18 Apr 2015 03:14:28 -0700 From: tip-bot for Kan Liang Message-ID: Cc: hpa@zytor.com, mingo@kernel.org, tglx@linutronix.de, kan.liang@intel.com, peterz@infradead.org, linux-kernel@vger.kernel.org, ak@linux.intel.com Reply-To: hpa@zytor.com, tglx@linutronix.de, mingo@kernel.org, kan.liang@intel.com, ak@linux.intel.com, peterz@infradead.org, linux-kernel@vger.kernel.org In-Reply-To: <1427962377-40955-1-git-send-email-kan.liang@intel.com> References: <1427962377-40955-1-git-send-email-kan.liang@intel.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/urgent] perf/x86/intel: Add Broadwell support for the LBR callstack Git-Commit-ID: 78d504bcd769cc496f63b626f507039eab2316b7 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1639 Lines: 38 Commit-ID: 78d504bcd769cc496f63b626f507039eab2316b7 Gitweb: http://git.kernel.org/tip/78d504bcd769cc496f63b626f507039eab2316b7 Author: Kan Liang AuthorDate: Thu, 2 Apr 2015 04:12:57 -0400 Committer: Ingo Molnar CommitDate: Fri, 17 Apr 2015 09:59:07 +0200 perf/x86/intel: Add Broadwell support for the LBR callstack Same as Haswell, Broadwell also support the LBR callstack. Signed-off-by: Kan Liang Signed-off-by: Peter Zijlstra (Intel) Acked-by: Andi Kleen Link: http://lkml.kernel.org/r/1427962377-40955-1-git-send-email-kan.liang@intel.com Signed-off-by: Ingo Molnar --- arch/x86/kernel/cpu/perf_event_intel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/cpu/perf_event_intel.c b/arch/x86/kernel/cpu/perf_event_intel.c index 9da2400..219d3fb 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; -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/