Re: [PATCH 4/4][RFC] perf_counter: Allow sharing of output channels

From: Ingo Molnar
Date: Wed Aug 19 2009 - 08:56:30 EST



* Paul Mackerras <paulus@xxxxxxxxx> wrote:

> Peter Zijlstra writes:
>
> > Provide the ability to configure a counter to send its output
> > to another (already existing) counter's output stream.
>
> What sort of thing might this be useful for?

To share the output buffer - say you have a number of tracepoint
counters enabled and want a single (coherent) stream of events
without a post-processing sorting pass.

Right now each counter has to be opened, mmap-ed separately and
then the result stuffed into the output file.

Ingo
--
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/