Page MenuHomeFreeBSD

hwpmc(4): document debugging options
ClosedPublic

Authored by mhorne on Jun 14 2023, 5:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 25 2024, 8:08 PM
Unknown Object (File)
Nov 25 2024, 8:08 PM
Unknown Object (File)
Nov 14 2024, 2:04 PM
Unknown Object (File)
Nov 13 2024, 10:29 PM
Unknown Object (File)
Nov 13 2024, 4:13 AM
Unknown Object (File)
Sep 28 2024, 11:36 AM
Unknown Object (File)
Sep 21 2024, 8:17 AM
Unknown Object (File)
Sep 18 2024, 2:04 AM
Subscribers

Details

Summary

The debug options for hwpmc are not documented in detail anywhere, and
setting it up was error-prone the first time I had to figure it out (and
each time I've had to remember it). Add some explanation of the required
options and describe the kern.hwpmc.debugflags sysctl format.

Diff Detail

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

Event Timeline

share/man/man4/hwpmc.4
541

This is really useful only for debugging during development of hwpmc itself (and not a user of hwmpc), right? If so we may want to make that explicit here.

Clarify that debugging functionality is primarily of interest to developers.

Did not check the specifics of the flag groups in detail but read through everything and LGTM

This revision is now accepted and ready to land.Jun 14 2023, 9:35 PM
This revision was automatically updated to reflect the committed changes.
mhorne marked an inline comment as done.