HomeFreeBSD

libpmc: remove PMC_MDEP_TABLE logic

Description

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

(cherry picked from commit da13ef6aa0565c8d79326bba5606671062033bbf)

Details

Provenance
mhorneAuthored on May 13 2021, 7:00 PM
Reviewer
ray
Differential Revision
D30196: libpmc: remove PMC_MDEP_TABLE logic
Parents
rGc0960dc8c677: libpmc: remove unused PMC_MDEP_INIT_INTEL_V2
Branches
Unknown
Tags
Unknown