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)
Tue, Mar 3, 11:07 AM
Unknown Object (File)
Wed, Feb 18, 8:48 PM
Unknown Object (File)
Tue, Feb 17, 12:46 AM
Unknown Object (File)
Sun, Feb 8, 10:22 AM
Unknown Object (File)
Sun, Feb 8, 4:22 AM
Unknown Object (File)
Jan 31 2026, 5:27 AM
Unknown Object (File)
Jan 30 2026, 10:09 PM
Unknown Object (File)
Jan 30 2026, 4:25 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