[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140624171943.GR3213@twins.programming.kicks-ass.net>
Date: Tue, 24 Jun 2014 19:19:43 +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,
Robert Richter <rric@...nel.org>,
Frederic Weisbecker <fweisbec@...il.com>,
Mike Galbraith <efault@....de>,
Paul Mackerras <paulus@...ba.org>,
Stephane Eranian <eranian@...gle.com>,
Andi Kleen <ak@...ux.intel.com>
Subject: Re: [RFC v2 2/7] perf: add AUX area to ring buffer for raw data
streams
On Wed, Jun 11, 2014 at 06:41:45PM +0300, Alexander Shishkin wrote:
> + /*
> + * Set up pmu-private data structures for an AUX area
> + */
> + void *(*setup_aux) (int cpu, void **pages,
> + int nr_pages, bool overwrite);
> + /* optional */
> +
> + /*
> + * Free pmu-private AUX data structures
> + */
> + void (*free_aux) (void *aux); /* optional */
I was hoping you could replace those with a PERF_CAP_AUX or something
and then have one generic allocation routine like you provide in the
subsequent patches.
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists