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
F102682382: D39911.diff
Fri, Nov 15, 7:35 PM
Unknown Object (File)
Sat, Nov 2, 9:56 AM
Unknown Object (File)
Sun, Oct 20, 11:58 PM
Unknown Object (File)
Sun, Oct 20, 7:48 PM
Unknown Object (File)
Oct 12 2024, 1:04 AM
Unknown Object (File)
Sep 30 2024, 2:12 PM
Unknown Object (File)
Sep 30 2024, 12:28 PM
Unknown Object (File)
Sep 30 2024, 8:21 AM
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