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.

Attachment: pgp1yfepnkQTE.pgp
Description: PGP signature

Reply via email to