Page MenuHomeFreeBSD

pmccontrol: improve -L with pmu-events
ClosedPublic

Authored by mhorne on May 28 2021, 6:08 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 13 2024, 5:28 PM
Unknown Object (File)
Dec 23 2023, 8:34 PM
Unknown Object (File)
Dec 14 2023, 10:31 PM
Unknown Object (File)
Nov 26 2023, 5:19 PM
Unknown Object (File)
Oct 13 2023, 1:59 AM
Unknown Object (File)
Oct 3 2023, 4:29 PM
Unknown Object (File)
Sep 16 2023, 8:47 AM
Unknown Object (File)
Sep 2 2023, 1:47 PM
Subscribers

Details

Summary

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.