Want support for AMD Zen CPC events
We should update the AMD CPU Performance counters to cover the EPYC systems. I tested this by looking at the generated manual pages, going through and running this on AMD EPYC systems and verifying that I could run 6 different classes of events. I also went back and just sanity tested an Intel system and made sure that the generated Intel CPC files hadn't changed.
Note, the data files are something that I constructed myself. We should consider going back and doing this for older platforms as well. One side effect of this change was that there was code that said if an unknown AMD platform shows up, just assume that the generic counters are valid. However, that wasn't true across most of the generations I looked at, so that behavior was removed. However, it should now be easier to add support for a new generation of CPU performance counters or go back and add support for old ones.
Updated by Electric Monk 10 months ago
- Status changed from New to Closed
commit d0e58ef5d66890a3cd67c9c6eb8c823f9865a70f Author: Robert Mustacchi <email@example.com> Date: 2019-05-09T03:17:34.000Z 10896 Want support for AMD Zen CPC events Reviewed by: Jerry Jelinek <firstname.lastname@example.org> Reviewed by: Patrick Mooney <email@example.com> Reviewed by: Dan McDonald <firstname.lastname@example.org> Approved by: Richard Lowe <email@example.com>