Page MenuHomeFreeBSD

LinuxKPI: introduce LINUXKPI_DEBUG to enable LinuxKPI debugging
Needs ReviewPublic

Authored by bz on Wed, Dec 3, 9:41 PM.

Details

Reviewers
None
Group Reviewers
linuxkpi
Summary

This allows us to build kernels which will (if the sysctl is enabled
too) to show pr_debug() and pr_devel() output.

Enable it by default for debug kernels.

This option can later also be used for other LinuxKPI parts, like
skbuffs, netdevice, rcu, ... to conditionally compile in debugging
support to further justify its existence beyond an in-code #define.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 69025
Build 65908: arc lint + arc unit