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, Jun 9, 10:17 PM
Unknown Object (File)
Mon, May 27, 9:31 AM
Unknown Object (File)
Mon, May 27, 9:31 AM
Unknown Object (File)
Mon, May 27, 9:31 AM
Unknown Object (File)
Mon, May 27, 9:17 AM
Unknown Object (File)
Sat, May 25, 10:51 PM
Unknown Object (File)
Fri, May 17, 1:51 AM
Unknown Object (File)
May 13 2024, 1:44 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