Kconfig.debug 758 B

1234567891011121314151617181920212223242526
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. config NET_DEV_REFCNT_TRACKER
  3. bool "Enable net device refcount tracking"
  4. depends on DEBUG_KERNEL && STACKTRACE_SUPPORT && NET
  5. select REF_TRACKER
  6. default n
  7. help
  8. Enable debugging feature to track device references.
  9. This adds memory and cpu costs.
  10. config NET_NS_REFCNT_TRACKER
  11. bool "Enable networking namespace refcount tracking"
  12. depends on DEBUG_KERNEL && STACKTRACE_SUPPORT && NET
  13. select REF_TRACKER
  14. default n
  15. help
  16. Enable debugging feature to track netns references.
  17. This adds memory and cpu costs.
  18. config DEBUG_NET
  19. bool "Add generic networking debug"
  20. depends on DEBUG_KERNEL && NET
  21. help
  22. Enable extra sanity checks in networking.
  23. This is mostly used by fuzzers, but is safe to select.