From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932833Ab0BCXvk (ORCPT ); Wed, 3 Feb 2010 18:51:40 -0500 Received: from smtp-out.google.com ([216.239.33.17]:52379 "EHLO smtp-out.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757659Ab0BCXvh (ORCPT ); Wed, 3 Feb 2010 18:51:37 -0500 DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=mime-version:in-reply-to:references:date:message-id:subject:from:to: cc:content-type:x-system-of-record; b=t2L4mzCxgnwrSSTarV/ne9LhyGkocWJZjUBfM516m3o7zMMDDb93OplcZjoYe+jBl Kj6i1ZzsWCBI7DBxIdeFQ== MIME-Version: 1.0 In-Reply-To: <1265241010.24455.1627.camel@laptop> References: <1265129772.24455.329.camel@laptop> <20100202182653.GB19320@elte.hu> <1265135588.24455.350.camel@laptop> <1265205361.24455.533.camel@laptop> <1265206784.24455.568.camel@laptop> <1265208012.24455.592.camel@laptop> <1265241010.24455.1627.camel@laptop> Date: Thu, 4 Feb 2010 00:51:30 +0100 Message-ID: Subject: Re: [RFC][PATCH] perf_events, x86: PEBS support From: Stephane Eranian To: Peter Zijlstra Cc: Ingo Molnar , Paul Mackerras , "Metzger, Markus T" , lkml , Robert Richter , "David S. Miller" , Jamie Iles , Paul Mundt , Arjan van de Ven , "H. Peter Anvin" , perfmon2-devel@lists.sf.net Content-Type: text/plain; charset=UTF-8 X-System-Of-Record: true Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 4, 2010 at 12:50 AM, Peter Zijlstra wrote: > On Wed, 2010-02-03 at 15:40 +0100, Peter Zijlstra wrote: >> >> If only they would reset the counter on overflow instead of on record, >> that would solve quite a few issues I imagine. > > So I tried enabling the regular PMC overflow interrupt and reprogramming > the counter from that, but touching the counter seems to destroy the > PEBS assist, so much for that idea. > Yes, you have to leave the INT bit off, otherwise you get an interrupt for each overflow, thus you lose the buffer advantage.