nvme: optimise io_uring passthrough completion
[linux-block.git] / net / Kconfig.debug
CommitLineData
4d92b95f
ED
1# SPDX-License-Identifier: GPL-2.0-only
2
3config NET_DEV_REFCNT_TRACKER
4 bool "Enable net device refcount tracking"
caddb4e0 5 depends on DEBUG_KERNEL && STACKTRACE_SUPPORT && NET
4d92b95f
ED
6 select REF_TRACKER
7 default n
8 help
9 Enable debugging feature to track device references.
10 This adds memory and cpu costs.
9ba74e6c
ED
11
12config NET_NS_REFCNT_TRACKER
13 bool "Enable networking namespace refcount tracking"
caddb4e0 14 depends on DEBUG_KERNEL && STACKTRACE_SUPPORT && NET
9ba74e6c
ED
15 select REF_TRACKER
16 default n
17 help
18 Enable debugging feature to track netns references.
19 This adds memory and cpu costs.
d268c1f5
ED
20
21config DEBUG_NET
22 bool "Add generic networking debug"
eb0b39ef 23 depends on DEBUG_KERNEL && NET
d268c1f5
ED
24 help
25 Enable extra sanity checks in networking.
26 This is mostly used by fuzzers, but is safe to select.