Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932099AbcCGS1y (ORCPT ); Mon, 7 Mar 2016 13:27:54 -0500 Received: from mx1.redhat.com ([209.132.183.28]:42423 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932065AbcCGS1i (ORCPT ); Mon, 7 Mar 2016 13:27:38 -0500 Date: Mon, 7 Mar 2016 19:27:31 +0100 From: Jiri Olsa To: Peter Zijlstra Cc: Stephane Eranian , Andi Kleen , LKML , Arnaldo Carvalho de Melo , "mingo@elte.hu" , "Liang, Kan" , Namhyung Kim , Adrian Hunter Subject: Re: [PATCH 2/3] perf/x86/pebs: add workaround for broken OVFL status on HSW Message-ID: <20160307182731.GA12153@krava.redhat.com> References: <1457034642-21837-1-git-send-email-eranian@google.com> <1457034642-21837-3-git-send-email-eranian@google.com> <20160303214312.GI23621@tassilo.jf.intel.com> <20160307102413.GB6356@twins.programming.kicks-ass.net> <20160307121840.GF6375@twins.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160307121840.GF6375@twins.programming.kicks-ass.net> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1065 Lines: 35 On Mon, Mar 07, 2016 at 01:18:40PM +0100, Peter Zijlstra wrote: > On Mon, Mar 07, 2016 at 11:24:13AM +0100, Peter Zijlstra wrote: > > > I suspect Andi is having something along: > > > > lkml.kernel.org/r/1445458568-16956-1-git-send-email-andi@firstfloor.org > > > > applied to his tree. > > OK, I munged a bunch of patches together, please have a hard look at the > end result found in: > > git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git perf/core > > I needed declaration below to compile jirka --- diff --git a/arch/x86/events/perf_event.h b/arch/x86/events/perf_event.h index 0e37370..097e4c1 100644 --- a/arch/x86/events/perf_event.h +++ b/arch/x86/events/perf_event.h @@ -862,6 +862,8 @@ extern struct event_constraint intel_hsw_pebs_event_constraints[]; extern struct event_constraint intel_skl_pebs_event_constraints[]; +extern struct event_constraint intel_bdw_pebs_event_constraints[]; + struct event_constraint *intel_pebs_constraints(struct perf_event *event); void intel_pmu_pebs_enable(struct perf_event *event);