Re: [RFC PATCH] LTTng relay buffer allocation, read, write

From: Frank Ch. Eigler
Date: Tue Sep 30 2008 - 16:06:12 EST


Hi -

On Tue, Sep 30, 2008 at 03:43:45PM -0400, Steven Rostedt wrote:
> [...]
> On Tue, 30 Sep 2008, Mathieu Desnoyers wrote:
> >
> > You are actually using them to put redundant information that could be
> > encoded differently and thus save 4 bits per event records, more or less
> > what will be needed by most tracers (15 IDs, 1 reserved for an extended
> > ID field).
>
> I really like the idea of keeping the tracer event ids out of the ring
> buffer logic.

That's fine for a ring buffer that only ever contains data from one
event source. How do you imagine multiplexing working, where one
wants to grep a single debugfs file that contains data from different
event sources? Punt to another layer?

- FChE
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/