From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752872AbbC3VZK (ORCPT ); Mon, 30 Mar 2015 17:25:10 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:48983 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751998AbbC3VZF (ORCPT ); Mon, 30 Mar 2015 17:25:05 -0400 Date: Mon, 30 Mar 2015 23:24:53 +0200 From: Peter Zijlstra To: Andi Kleen Cc: "Liang, Kan" , "linux-kernel@vger.kernel.org" , "mingo@kernel.org" , "acme@infradead.org" , "eranian@google.com" Subject: Re: [PATCH V5 4/6] perf, x86: handle multiple records in PEBS buffer Message-ID: <20150330212453.GH23123@twins.programming.kicks-ass.net> References: <1424701556-28270-1-git-send-email-kan.liang@intel.com> <1424701556-28270-5-git-send-email-kan.liang@intel.com> <20150330134531.GV23123@twins.programming.kicks-ass.net> <37D7C6CF3E00A74B8858931C1DB2F0770178BAF5@SHSMSX103.ccr.corp.intel.com> <20150330172545.GG2366@two.firstfloor.org> <37D7C6CF3E00A74B8858931C1DB2F0770178BC4D@SHSMSX103.ccr.corp.intel.com> <20150330200710.GO27490@worktop.programming.kicks-ass.net> <20150330201116.GI2366@two.firstfloor.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150330201116.GI2366@two.firstfloor.org> User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 30, 2015 at 10:11:16PM +0200, Andi Kleen wrote: > > Fair enough. > > For now we can simply only allow multi pebs if only a single > PEBS event is active (non PEBS events don't matter, as we > can just ignore those) > > This would be always on Atom, which only has a single PEBS > counter. I didn't say we can't do this for the big cores; I just said I want a coherent story about what and why we're doing this. The explanation was missing half the story, that's not good.