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, Apr 20, 2:54 PM
Unknown Object (File)
Sat, Apr 19, 9:41 PM
Unknown Object (File)
Mar 21 2025, 11:50 AM
Unknown Object (File)
Mar 16 2025, 10:30 PM
Unknown Object (File)
Feb 20 2025, 6:10 PM
Unknown Object (File)
Feb 20 2025, 5:54 PM
Unknown Object (File)
Feb 13 2025, 7:15 AM
Unknown Object (File)
Jan 26 2025, 6:08 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