Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755019Ab3JXM1z (ORCPT ); Thu, 24 Oct 2013 08:27:55 -0400 Received: from mail-yh0-f48.google.com ([209.85.213.48]:44741 "EHLO mail-yh0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754375Ab3JXM1y (ORCPT ); Thu, 24 Oct 2013 08:27:54 -0400 Date: Thu, 24 Oct 2013 09:27:48 -0300 From: Arnaldo Melo To: David Ahern Cc: Frederic Weisbecker , LKML , Ingo Molnar , Jiri Olsa , Mike Galbraith , Namhyung Kim , Peter Zijlstra , Stephane Eranian Subject: Re: [PATCH] perf session: Add option to copy events when queueing Message-ID: <20131024122748.GC6539@ghostprotocols.net> References: <1378496221-61525-1-git-send-email-dsahern@gmail.com> <20130914161626.GD1718@localhost.localdomain> <5268F524.20505@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5268F524.20505@gmail.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 995 Lines: 23 Em Thu, Oct 24, 2013 at 11:23:32AM +0100, David Ahern escreveu: > On 10/24/13 10:30 AM, Frederic Weisbecker wrote: > >Bah, checking that again, there don't seem to be a bug there. Actually > >the sample buffer is reset after we pick the last entry. So it looks > >all fine. I got confused as usual. Nevermind. > > Ok. I had not come back to this thread since I decided on a > different route for the event copying. I'll take it out of my to-do > list. Can you elaborate on that? I had this feeling that perhaps we could defer copying the event till it would be overwritten, something like making a range read only and then when the event would be _really_ consumed the tooling would mark it as so... Have to think about it more tho :-\ - Arnaldo -- 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/