[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080923023654.GF24937@Krystal>
Date: Mon, 22 Sep 2008 22:36:54 -0400
From: Mathieu Desnoyers <compudj@...stal.dyndns.org>
To: Peter Zijlstra <a.p.zijlstra@...llo.nl>
Cc: Steven Rostedt <rostedt@...dmis.org>,
Martin Bligh <mbligh@...gle.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Thomas Gleixner <tglx@...utronix.de>, od@...ell.com,
"Frank Ch. Eigler" <fche@...hat.com>
Subject: Re: Unified tracing buffer
* Peter Zijlstra (a.p.zijlstra@...llo.nl) wrote:
> On Sat, 2008-09-20 at 05:03 -0400, Steven Rostedt wrote:
>
> > Oh, and all commands should start with the namespace.
> >
> > ring_buffer_alloc()
> > ring_buffer_free()
> > ring_buffer_record_event()
>
> I really think we should separate the ringbuffer management from the
> event stuff.
>
Sure, I am strongly in favor of separating those two, given they
represent two different things. However, the requirement I have heard at
KS2008 was to provide
- Unified buffering mechanism
- Timestamps synchronized across all buffers
- Unified event IDs management, so events from various sources could be
shared between tools.
- As of my understanding, unified event structure, which can be exported
to userspace and be shared across different tools.
- Unified buffer control/management mechanism.
These all represent different infrastructure parts, but are all needed
if we want tools to be able to share the data exported through those
buffers.
Relay is a good example of having only a _single_ of these layers in
common : there is currently no way the different relay users can share
the data they collect because they have simply no idea how others
structure their data.
Mathieu
--
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists