Re: [Patch v1 01/10] perf/x86: improve sysfs event mapping with event string

Andi Kleen
2012-10-29T19:26:08Z

On Mon, Oct 29, 2012 at 04:15:43PM +0100, Stephane Eranian wrote:
> This patch extends Jiri's changes to make generic
> events mapping visible via sysfs. The patch extends
> the mechanism to non-generic events by allowing
> the mappings to be hardcoded in strings.
>
> This mechanism will be used by the PEBS-LL patch
> later on.

I'm going to pull this patch into my Haswell patchkit to handle
the same problem. I originally had a different solution, but
this works as well with the latest perf/core.

-Andi