From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752489AbbDBTqA (ORCPT ); Thu, 2 Apr 2015 15:46:00 -0400 Received: from mga11.intel.com ([192.55.52.93]:63102 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750771AbbDBTp7 (ORCPT ); Thu, 2 Apr 2015 15:45:59 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,512,1422950400"; d="scan'208";a="550318440" Date: Thu, 2 Apr 2015 12:45:55 -0700 From: Andi Kleen To: kan.liang@intel.com Cc: a.p.zijlstra@chello.nl, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/1] perf/x86/intel: Broadwell support LBR callstack Message-ID: <20150402194555.GD15335@tassilo.jf.intel.com> References: <1427962377-40955-1-git-send-email-kan.liang@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1427962377-40955-1-git-send-email-kan.liang@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 02, 2015 at 04:12:57AM -0400, kan.liang@intel.com wrote: > From: Kan Liang > > Same as Haswell, Broadwell also support LBR callstack. > > Signed-off-by: Kan Liang Thanks looks good. Acked-by: Andi Kleen -Andi > --- > 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 fc6dbc4..4b61fe9 100644 > --- a/arch/x86/kernel/cpu/perf_event_intel.c > +++ b/arch/x86/kernel/cpu/perf_event_intel.c > @@ -2787,7 +2787,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; > -- > 1.8.3.1 > -- ak@linux.intel.com -- Speaking for myself only