Re: [PATCH 0/2] perf, amd: support for AMD NB and L2I "uncore"counters.

From: Jacob Shin
Date: Wed Apr 17 2013 - 11:36:41 EST


On Mon, Apr 15, 2013 at 12:21:21PM -0500, Jacob Shin wrote:
> Per Ingo and Peter Z's request:
> https://lkml.org/lkml/2013/4/10/267
>
> This patchset removes the NB counter support from perf_event_amd.c and
> creates a new PMU instead to add support for both AMD NB and L2I
> counters.

Hi Peter Z., could you please take a look over this when you get the
chance? Each new set of counters are now their own struct pmu as you
requested.

Thank you,

-Jacob

>
> Jacob Shin (2):
> perf, amd: remove NB counter support from perf_event_amd.c
> perf, amd: support for AMD NB and L2I "uncore" counters.
>
> arch/x86/include/asm/cpufeature.h | 2 +
> arch/x86/include/uapi/asm/msr-index.h | 4 +
> arch/x86/kernel/cpu/Makefile | 2 +-
> arch/x86/kernel/cpu/perf_event_amd.c | 138 +--------
> arch/x86/kernel/cpu/perf_event_amd_uncore.c | 442 +++++++++++++++++++++++++++
> 5 files changed, 454 insertions(+), 134 deletions(-)
> create mode 100644 arch/x86/kernel/cpu/perf_event_amd_uncore.c
>
> --
> 1.7.9.5
>

--
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/