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, Aug 28, 10:56 PM
Unknown Object (File)
Fri, Aug 28, 10:56 PM
Unknown Object (File)
Tue, Aug 25, 1:06 PM
Unknown Object (File)
Sat, Aug 22, 2:38 PM
Unknown Object (File)
Fri, Aug 21, 10:23 PM
Unknown Object (File)
Sat, Aug 15, 7:15 AM
Unknown Object (File)
Sat, Aug 15, 2:08 AM
Unknown Object (File)
Fri, Aug 14, 10:37 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