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().
Details
Details
- Reviewers
ray emaste - Group Reviewers
pmc - Commits
- rG57caeb5109ee: libpmc: remove PMC_MDEP_TABLE logic
rGda13ef6aa056: libpmc: remove PMC_MDEP_TABLE logic
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Pretty much. pmc_init() adds only supported classes to the pmc_class_table array, so pmc_mdep_is_supported_class() only duplicates work by checking those classes against its own tables.