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, May 17, 1:51 AM
Unknown Object (File)
Mon, May 13, 1:44 PM
Unknown Object (File)
Tue, May 7, 8:38 PM
Unknown Object (File)
Mar 22 2024, 11:37 PM
Unknown Object (File)
Mar 2 2024, 10:34 PM
Unknown Object (File)
Jan 10 2024, 4:15 AM
Unknown Object (File)
Jan 9 2024, 11:23 AM
Unknown Object (File)
Jan 7 2024, 1:27 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