Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932461Ab0BCKdn (ORCPT ); Wed, 3 Feb 2010 05:33:43 -0500 Received: from casper.infradead.org ([85.118.1.10]:39354 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757080Ab0BCKdm (ORCPT ); Wed, 3 Feb 2010 05:33:42 -0500 Subject: Re: [RFC GIT PULL] perf/trace/lock optimization/scalability improvements From: Peter Zijlstra To: Frederic Weisbecker Cc: Ingo Molnar , LKML , Arnaldo Carvalho de Melo , Steven Rostedt , Paul Mackerras , Hitoshi Mitake , Li Zefan , Lai Jiangshan , Masami Hiramatsu , Jens Axboe In-Reply-To: <1265188475-23509-1-git-send-regression-fweisbec@gmail.com> References: <1265188475-23509-1-git-send-regression-fweisbec@gmail.com> Content-Type: text/plain; charset="UTF-8" Date: Wed, 03 Feb 2010 11:33:16 +0100 Message-ID: <1265193196.24455.390.camel@laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1040 Lines: 25 On Wed, 2010-02-03 at 10:14 +0100, Frederic Weisbecker wrote: > - event injection support I like the idea, I'm just not sure about the name and API details. I would like to call it something like collection support, and the API should have an iterator like interface. That is, it should not blindly dump all events from a collection at once, praying the output buffer is large enough, but either dump a specified number and/or stop dumping when the buffer is full. Allowing a second invocation to continue where it left off after the buffer content has been consumed. Which brings us to the ioctl() interface, we can do the above using ioctl()s, but it seems to me we're starting to get ioctl() heavy and should be looking at alternative ways of extending this. Anybody any bright ideas? -- 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/