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)
Thu, Feb 13, 7:15 AM
Unknown Object (File)
Sun, Jan 26, 6:08 PM
Unknown Object (File)
Sun, Jan 26, 5:55 PM
Unknown Object (File)
Jan 13 2025, 3:19 PM
Unknown Object (File)
Jan 3 2025, 8:00 AM
Unknown Object (File)
Dec 19 2024, 7:18 PM
Unknown Object (File)
Dec 13 2024, 1:27 AM
Unknown Object (File)
Dec 10 2024, 2:43 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 Passed
Unit
No Test Coverage
Build Status
Buildable 51286
Build 48177: arc lint + arc unit