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)
Fri, Nov 7, 4:43 AM
Unknown Object (File)
Tue, Nov 4, 7:09 PM
Unknown Object (File)
Sat, Nov 1, 5:06 PM
Unknown Object (File)
Wed, Oct 29, 5:10 PM
Unknown Object (File)
Oct 11 2025, 3:06 AM
Unknown Object (File)
Oct 11 2025, 3:06 AM
Unknown Object (File)
Oct 11 2025, 3:06 AM
Unknown Object (File)
Oct 10 2025, 8:19 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