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
F104282699: D39911.id121621.diff
Thu, Dec 5, 7:52 PM
Unknown Object (File)
Tue, Nov 26, 2:23 PM
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)
Nov 2 2024, 9:56 AM
Unknown Object (File)
Oct 20 2024, 11:58 PM
Unknown Object (File)
Oct 20 2024, 7:48 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