Page MenuHomeFreeBSD

pmccontrol: improve -L with pmu-events
ClosedPublic

Authored by mhorne on May 28 2021, 6:08 PM.
Tags
None
Referenced Files
F159295879: D30526.id.diff
Fri, Jun 12, 1:17 PM
F159231315: D30526.id90210.diff
Thu, Jun 11, 3:15 PM
Unknown Object (File)
Thu, Jun 11, 4:28 AM
Unknown Object (File)
Thu, Jun 4, 6:09 PM
Unknown Object (File)
Fri, May 15, 1:20 PM
Unknown Object (File)
Fri, May 15, 12:31 AM
Unknown Object (File)
Thu, May 14, 11:22 PM
Unknown Object (File)
May 11 2026, 7:21 PM
Subscribers

Details

Summary

Check if the action is supported rather than carrying a
machine-dependent #ifdef.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 39541
Build 36430: arc lint + arc unit

Event Timeline

usr.sbin/pmccontrol/pmccontrol.c
295

This (pmc_pmu_print_counters) is an empty fn on non-x86?

usr.sbin/pmccontrol/pmccontrol.c
295

For now, yes, but soon it won't be. However, pmc_pmu_enabled() will return false on those platforms.

This revision is now accepted and ready to land.May 28 2021, 6:35 PM
This revision was automatically updated to reflect the committed changes.