]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libpmc: remove PMC_MDEP_TABLE logic
authorMitchell Horne <mhorne@FreeBSD.org>
Thu, 13 May 2021 19:00:07 +0000 (16:00 -0300)
committerMitchell Horne <mhorne@FreeBSD.org>
Thu, 13 May 2021 19:01:19 +0000 (16:01 -0300)
commitda13ef6aa0565c8d79326bba5606671062033bbf
tree137e2d42f667e1306305a1393cc76288221a034c
parent4d8d74a4f52efd078bd6298e0adbdd476ed70de9
libpmc: remove PMC_MDEP_TABLE logic

This logic was added for handling some of the complicated relationships
between events and x86 CPU models. Since that logic has been mostly
removed from libpmc(3) in favor of pmu-events, this no longer serves
much of a purpose. Mapping CPU types to event tables is already handled
by the switch statement in pmc_init().

Reviewed by: ray, emaste
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D30196
lib/libpmc/libpmc.c