[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171003143602.hg2rbwne4e22g46h@hirez.programming.kicks-ass.net>
Date: Tue, 3 Oct 2017 16:36:02 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Alexander Shishkin <alexander.shishkin@...ux.intel.com>
Cc: Ingo Molnar <mingo@...hat.com>, linux-kernel@...r.kernel.org,
acme@...hat.com, kirill.shutemov@...ux.intel.com,
Borislav Petkov <bp@...en8.de>, rric@...nel.org
Subject: Re: [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?
Powered by blists - more mailing lists