lkml.org 
[lkml]   [2017]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH 06/17] perf: Add buffers to the detached events
On Tue, Sep 05, 2017 at 04:30:15PM +0300, Alexander Shishkin wrote:
> @@ -415,6 +416,8 @@ struct perf_event_attr {
> __u32 aux_watermark;
> __u16 sample_max_stack;
> __u16 __reserved_2; /* align to __u64 */
> + __u32 detached_nr_pages;
> + __u32 detached_aux_nr_pages;
> };

Not sure the naming makes sense; I don't see why this would be limited
to detached events. That is, what would stop someone from pre-allocating
buffers on 'regular' events if they wanted to?

\
 
 \ /
  Last update: 2017-10-03 16:37    [W:0.161 / U:33.488 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site