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
F159522089: D39911.id121621.diff
Mon, Jun 15, 6:39 AM
Unknown Object (File)
Fri, Jun 12, 3:41 PM
Unknown Object (File)
Sat, May 30, 4:28 PM
Unknown Object (File)
Mon, May 18, 2:03 AM
Unknown Object (File)
Apr 19 2026, 10:00 PM
Unknown Object (File)
Apr 18 2026, 3:44 PM
Unknown Object (File)
Apr 15 2026, 12:12 AM
Unknown Object (File)
Apr 11 2026, 9:56 PM
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