Page MenuHomeFreeBSD

pmccontrol: improve -L with pmu-events
ClosedPublic

Authored by mhorne on May 28 2021, 6:08 PM.
Tags
None
Referenced Files
F83631542: D30526.id.diff
Sun, May 12, 9:39 PM
Unknown Object (File)
Fri, May 10, 11:41 AM
Unknown Object (File)
Thu, May 9, 7:29 PM
Unknown Object (File)
Wed, May 8, 6:08 PM
Unknown Object (File)
Wed, May 8, 2:11 AM
Unknown Object (File)
Mon, May 6, 1:53 AM
Unknown Object (File)
Sun, Apr 28, 5:31 AM
Unknown Object (File)
Fri, Apr 26, 9:42 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.