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)
Sat, Oct 11, 3:06 AM
Unknown Object (File)
Sat, Oct 11, 3:06 AM
Unknown Object (File)
Sat, Oct 11, 3:06 AM
Unknown Object (File)
Fri, Oct 10, 8:19 PM
Unknown Object (File)
Tue, Oct 7, 8:22 AM
Unknown Object (File)
Mon, Oct 6, 5:03 AM
Unknown Object (File)
Fri, Oct 3, 11:50 PM
Unknown Object (File)
Sep 9 2025, 6: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