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

From: Andi Kleen
Date: Mon Oct 29 2012 - 15:25:57 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/