Page MenuHomeFreeBSD

hwpmc_logging: less macro magic for type names
ClosedPublic

Authored by mhorne on May 1 2023, 7:40 PM.
Tags
None
Referenced Files
F143666816: D39911.diff
Sat, Jan 31, 5:27 AM
F143555426: D39911.diff
Fri, Jan 30, 10:09 PM
F143462780: D39911.diff
Fri, Jan 30, 4:25 PM
Unknown Object (File)
Wed, Jan 28, 7:00 PM
Unknown Object (File)
Dec 10 2025, 11:23 PM
Unknown Object (File)
Nov 30 2025, 5:05 AM
Unknown Object (File)
Nov 22 2025, 6:30 AM
Unknown Object (File)
Nov 7 2025, 4:43 AM
Subscribers

Details

Summary

Provide the log type names in their entirely, rather than relying on the
macro to prepend the prefix. This improves their searchability; for
example, if I see PMCLOG_TYPE_PMCALLOCATE in libpmc I will now be able
to find where that is emitted in the kernel with a simple grep.

Diff Detail

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