HomeFreeBSD

libpmc: eliminate pmc_pmu_stat_mode()

Description

libpmc: eliminate pmc_pmu_stat_mode()

There is a single consumer, the pmc utility, that clearly has knowledge
of which counters it is expecting. Remove this function and have it
use common counter aliases instead.

Reviewed by: gnn
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D30528

Details

Provenance
mhorneAuthored on May 31 2021, 2:21 PM
Reviewer
gnn
Differential Revision
D30528: libpmc: eliminate pmc_pmu_stat_mode()
Parents
R10:167cdaa7e300: pmccontrol: improve -L with pmu-events
Branches
Unknown
Tags
Unknown