1.. _network_tracing: 2 3Network Tracing 4############### 5 6.. contents:: 7 :local: 8 :depth: 2 9 10User can enable network core stack and socket API calls tracing. 11 12The :kconfig:option:`CONFIG_TRACING_NET_CORE` option controls the core network 13stack tracing. This option is enabled by default if tracing and networking 14are enabled. The system will start to collect the receiving and sending call 15verdicts i.e., whether the network packet was successfully sent or received. 16It will also collect packet sending or receiving timings i.e., how long 17it took to deliver the network packet, and the network interface, priority 18and traffic class used. 19 20The :kconfig:option:`CONFIG_TRACING_NET_SOCKETS` option can be used to track 21BSD socket call usage in the system. It is enabled if tracing and BSD socket 22API support are enabled. The system will start to collect what BSD socket 23API calls are made and what parameters the API calls are using and returning. 24 25See the :ref:`tracing documentation <tracing>` for how to use the tracing 26service. 27