]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libpmc: add some AMD pmu counter aliases
authorMitchell Horne <mhorne@FreeBSD.org>
Thu, 30 Sep 2021 14:13:37 +0000 (11:13 -0300)
committerMitchell Horne <mhorne@FreeBSD.org>
Thu, 30 Sep 2021 14:15:26 +0000 (11:15 -0300)
commita20c10893eb17e281f119d1b9b39c175dbf4d7bd
treeb5843787d62b8a5a1b33b0e9ca8686615a8e0b02
parent937539e0a32ce1da46223664ca1cf3b252e02ece
libpmc: add some AMD pmu counter aliases

Make it mostly compatible with what's defined for Intel. Except where
noted, these are defined for all of amdzen(1|2|3).

Reviewed by: emaste
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32162
lib/libpmc/libpmc_pmu_util.c