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 22, 10:33 PM
Unknown Object (File)
Fri, Nov 15, 9:25 PM
Unknown Object (File)
Fri, Nov 15, 7:35 PM
Unknown Object (File)
Sat, Nov 2, 9:56 AM
Unknown Object (File)
Oct 20 2024, 11:58 PM
Unknown Object (File)
Oct 20 2024, 7:48 PM
Unknown Object (File)
Oct 12 2024, 1:04 AM
Unknown Object (File)
Sep 30 2024, 2:12 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