| # Kconfig.debug - Debug Options |
| |
| # |
| # Copyright (c) 2016 Intel Corporation. |
| # |
| # SPDX-License-Identifier: Apache-2.0 |
| # |
| |
| menuconfig NET_LOG |
| bool "Enable network stack logging and debugging" |
| select LOG |
| help |
| Enable logging in various parts of the network stack. |
| Specific debugging options to other sub-menus will be unlocked |
| as well (IPv6, IPv4, ...). |
| |
| module = NET_DEFAULT |
| module-dep = NET_LOG |
| module-def = LOG_LEVEL_ERR |
| module-str = Default network stack logging level |
| module-help = Default log level if the user has not specified one. |
| source "subsys/net/Kconfig.template.log_config.default.net" |
| |
| module = NET_MAX |
| module-dep = NET_LOG |
| module-def = LOG_LEVEL_DBG |
| module-str = Max network stack logging level |
| module-help = Max log level. This overrides individual networking log levels. |
| source "subsys/net/Kconfig.template.log_config.default.net" |
| |
| module = NET_CORE |
| module-dep = NET_LOG |
| module-str = Log level for core IP stack |
| module-help = Enables core network stack code to output debug messages. |
| source "subsys/net/Kconfig.template.log_config.net" |
| |
| module = NET_IF |
| module-dep = NET_LOG |
| module-str = Log level for network interface code |
| module-help = Enables network interface code to output debug messages. |
| source "subsys/net/Kconfig.template.log_config.net" |
| |
| module = NET_TC |
| module-dep = NET_LOG |
| module-str = Log level for network traffic class code |
| module-help = Enables network traffic class code to output debug messages. |
| source "subsys/net/Kconfig.template.log_config.net" |
| |
| module = NET_UTILS |
| module-dep = NET_LOG |
| module-str = Log level for utility functions in IP stack |
| module-help = Enables utility functions to output debug messages. |
| source "subsys/net/Kconfig.template.log_config.net" |
| |
| module = NET_CONTEXT |
| module-dep = NET_LOG |
| module-str = Log level for network context allocation |
| module-help = Enables printing of network context allocations and frees. |
| source "subsys/net/Kconfig.template.log_config.net" |
| |
| module = NET_PKT |
| module-dep = NET_LOG |
| module-str = Log level for network packet and buffer allocation |
| module-help = Enables debug of network packet and buffer allocations and frees. |
| source "subsys/net/Kconfig.template.log_config.net" |
| |
| if NET_PKT_LOG_LEVEL >= 4 |
| config NET_DEBUG_NET_PKT_ALL |
| bool "Debug network packet and buffer individual allocation" |
| help |
| Enables printing of network packet and buffer allocations and frees for |
| each allocation. This can produce lot of output so it is disabled by |
| default. |
| |
| config NET_DEBUG_NET_PKT_EXTERNALS |
| int "How many external network packet allocations" |
| default 0 |
| help |
| How many external net_pkt objects are there in user specific pools. |
| This value is used when allocating space for tracking the |
| memory allocations. |
| endif |
| |
| module = NET_CONN |
| module-dep = NET_LOG |
| module-str = Log level for UDP/TCP connection handling |
| module-help = Enables UDP/TCP connection debug messages. |
| source "subsys/net/Kconfig.template.log_config.net" |
| |
| module = NET_ROUTE |
| module-dep = NET_LOG |
| module-str = Log level for route management |
| module-help = Enables routing engine debug messages. |
| source "subsys/net/Kconfig.template.log_config.net" |