Page MenuHomeFreeBSD

libpmc: make libpmc_pmu_utils.c more amenable to porting
ClosedPublic

Authored by mhorne on May 28 2021, 6:54 PM.

Details

Summary

The current version has every function stubbed out for !x86. Only two
functions (pmu_alias_get() and pmc_pmu_pmcallocate() are really platform
dependent, so reduce the width of the ifdefs and remove some of the
stubs.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.