HomeFreeBSD

pmccontrol: improve -L with pmu-events

Description

pmccontrol: improve -L with pmu-events

Check if the pmu utils are supported rather than carrying a
machine-dependent #ifdef.

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

(cherry picked from commit 167cdaa7e30093215a753d4f788d921b1f7c1474)

Details

Provenance
mhorneAuthored on May 31 2021, 2:14 PM
Reviewer
gnn
Differential Revision
D30526: pmccontrol: improve -L with pmu-events
Parents
rGb040b03d32c3: libpmc: eliminate pmc_pmu_stat_mode()
Branches
Unknown
Tags
Unknown