Re: [PATCH] Support for perf on AMD family17h processors

From: Natarajan, Janakarajan
Date: Thu Nov 17 2016 - 12:25:30 EST



On 11/17/2016 12:46 AM, Ingo Molnar wrote:
* Janakarajan Natarajan <Janakarajan.Natarajan@xxxxxxx> wrote:

This patch enables perf core PMU support for AMD family17h processors. In
family17h, there is no PMC-event constraint. All events, irrespective of the
type, can be measured using any of the performance counters.
BTW., that's a very nice hardware design that simplifies counter constraints and
scheduling!

Does Fam17h have 6 generic counters per core, like Fam15h?
Yes. Fam17h has 6 generic core counters.

Thanks,

Ingo