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
Unknown Object (File)
Sun, Apr 19, 10:00 PM
Unknown Object (File)
Sat, Apr 18, 3:44 PM
Unknown Object (File)
Wed, Apr 15, 12:12 AM
Unknown Object (File)
Sat, Apr 11, 9:56 PM
Unknown Object (File)
Sat, Apr 11, 11:09 AM
Unknown Object (File)
Mon, Apr 6, 4:38 PM
Unknown Object (File)
Mar 25 2026, 2:26 AM
Unknown Object (File)
Mar 3 2026, 11:07 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