|From:||Mathieu Desnoyers <mathieu.desnoyers-AT-efficios.com>|
|To:||Steven Rostedt <rostedt-AT-goodmis.org>|
|Subject:||Re: [RFC] Unified Ring Buffer (Next Generation)|
|Date:||Wed, 19 May 2010 15:05:04 -0400|
|Cc:||LKML <linux-kernel-AT-vger.kernel.org>, Linus Torvalds <torvalds-AT-linux-foundation.org>, Andrew Morton <akpm-AT-linux-foundation.org>, Peter Zijlstra <peterz-AT-infradead.org>, Ingo Molnar <mingo-AT-elte.hu>, Frederic Weisbecker <fweisbec-AT-gmail.com>, Thomas Gleixner <tglx-AT-linutronix.de>, Christoph Hellwig <hch-AT-lst.de>, Li Zefan <lizf-AT-cn.fujitsu.com>, Lai Jiangshan <laijs-AT-cn.fujitsu.com>, Johannes Berg <johannes.berg-AT-intel.com>, Masami Hiramatsu <masami.hiramatsu.pt-AT-hitachi.com>, Arnaldo Carvalho de Melo <acme-AT-infradead.org>, Tom Zanussi <tzanussi-AT-gmail.com>, KOSAKI Motohiro <kosaki.motohiro-AT-jp.fujitsu.com>, Andi Kleen <andi-AT-firstfloor.org>|
* Steven Rostedt (email@example.com) wrote: [...] > Unfortunately, we are now back with more than one ring buffer in the > kernel. What's worse, neither of them can perform all the features > needed. This is putting a bit of stress on the users of these tools, not > to mention the stress on the developers as well. [...] > This email is about finding a solution to the problem. If we can once > again create a generic ring buffer that handles all requirements, then > we can also merge the functionality of ftrace into perf, and lower the > duplication of code within the kernel. > > > This time around, I'm asking Mathieu Desnoyers to come to the plate, and > see if he can handle the task. > > I'm hoping that this email will start a thread that gets everyone into > agreement and produces something that will make everyone happy. I also hope this will get us to a state of concensus. For the records: I'm willing to handle that task. I plan to use the git://git.kernel.org/pub/scm/linux/kernel/git/compudj/linux-2.6-ringbuffer.git git tree to publish my work (and to submit occasional rounds of patches to LKML too) The current state of that tree is that it includes only the bare-bone ring buffer core, without the filesystem operations, only for per-cpu buffers, and still needs a bit of cleanup. It's currently in kernel/trace/, but, as we discussed, it's probably better if I move it to kernel/ringbuffer/, because it does not have to be tied specifically to tracers. I'm doing it with tracing in mind, but it could be reused as generic ring buffer in the future. Thanks, Mathieu -- Mathieu Desnoyers Operating System Efficiency R&D Consultant EfficiOS Inc. http://www.efficios.com
Copyright © 2010, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds