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)
Sun, May 5, 3:14 AM
Unknown Object (File)
Mon, Apr 29, 11:03 PM
Unknown Object (File)
Thu, Apr 25, 9:59 PM
Unknown Object (File)
Thu, Apr 25, 1:48 PM
Unknown Object (File)
Thu, Apr 25, 1:48 PM
Unknown Object (File)
Thu, Apr 25, 1:48 PM
Unknown Object (File)
Thu, Apr 25, 7:12 AM
Unknown Object (File)
Apr 17 2024, 5:58 PM
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.