lkml.org 
[lkml]   [2009]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [announce] Performance Counters for Linux, v6
From
Date
On Fri, 2009-02-20 at 14:38 -0800, Corey Ashford wrote:
> There may be other non-event-related changes that will not be handled
> quite as well in this way. In the original email I hinted at that we
> may want an option for mmap'd sample buffers at some point, and so I'm
> not clear how you'd provide an ABI to request mmap'd buffers (you would
> probably need to be able to request the size and get back a pointer to
> the mmap'd buffer). Would this be done through a special
> sys_perf_counter_open call? Or through a subsequent ioctl call on the
> group leader after an open (which requires the counters to be initially
> disabled), etc.

What's stopping a regular mmap() call using the fd obtained from
sys_perf_counter_open() ?





\
 
 \ /
  Last update: 2009-02-20 23:51    [W:0.099 / U:0.672 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site