net: tracing: Have a separate Kconfig option for socket API tracing
This is done for preparation to adding more network code tracing to the system. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
This commit is contained in:
parent
4ea0e88687
commit
491e12be2b
2 changed files with 9 additions and 2 deletions
|
|
@ -185,7 +185,7 @@
|
|||
#define sys_port_trace_pm_is_disabled 1
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_TRACING_NETWORKING)
|
||||
#if defined(CONFIG_TRACING_NET_SOCKETS)
|
||||
#define sys_port_trace_type_mask_socket(trace_call) trace_call
|
||||
#else
|
||||
#define sys_port_trace_type_mask_socket(trace_call)
|
||||
|
|
|
|||
|
|
@ -329,8 +329,15 @@ config TRACING_PM
|
|||
Enable tracing Power Management.
|
||||
|
||||
config TRACING_NETWORKING
|
||||
bool "Tracing Network Sockets"
|
||||
bool "Tracing Network Objects"
|
||||
default y if NETWORKING
|
||||
help
|
||||
Enable tracing network objects.
|
||||
|
||||
config TRACING_NET_SOCKETS
|
||||
bool "Tracing Network Sockets"
|
||||
depends on TRACING_NETWORKING
|
||||
default y if NET_SOCKETS
|
||||
help
|
||||
Enable tracing network sockets.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue