lkml.org 
[lkml]   [2009]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 4/4][RFC] perf_counter: Allow sharing of output channels

* Paul Mackerras <paulus@samba.org> 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


\
 
 \ /
  Last update: 2009-08-19 14:59    [W:0.141 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site