Page MenuHomeFreeBSD

LinuxKPI: introduce LINUXKPI_DEBUG to enable LinuxKPI debugging
Changes PlannedPublic

Authored by bz on Wed, Dec 3, 9:41 PM.
Tags
None
Referenced Files
F139362201: D54060.diff
Thu, Dec 11, 6:11 AM
F139332344: D54060.id167500.diff
Wed, Dec 10, 10:43 PM
Unknown Object (File)
Mon, Dec 8, 9:23 AM
Unknown Object (File)
Mon, Dec 8, 8:02 AM
Unknown Object (File)
Sun, Dec 7, 3:51 PM
Subscribers

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

Event Timeline

bz requested review of this revision.Wed, Dec 3, 9:41 PM
bz planned changes to this revision.Sat, Dec 6, 10:55 PM
bz added inline comments.
sys/conf/options
906

opt-Linuxkpi.h should likely also just be added to LINUXKPI_GENSRCS?