diff options
author | Steven Luong <sluong@cisco.com> | 2022-10-06 16:48:24 -0700 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2022-10-07 19:42:26 +0000 |
commit | 8d97a5cd1cb74c81ef9795925f141302180084c6 (patch) | |
tree | db530b886239da37f389cdd5260d9600ceef7780 /src/vnet | |
parent | 14b118b4c7f5bd3927af48010092c5313884fbb2 (diff) |
tcp: build image with TCP_DEBUG_ALWAYS via make
Add cmake option to enable TCP_DEBUG_ALWAYS.
make rebuild VPP_EXTRA_CMAKE_ARGS=-DVPP_TCP_DEBUG_ALWAYS=ON
make rebuild VPP_EXTRA_CMAKE_ARGS=-DVPP_TCP_DEBUG_ALWAYS=OFF
Type: improvement
Signed-off-by: Steven Luong <sluong@cisco.com>
Change-Id: I911a8d615f76516ae0a988bc6135c3b0d8fcb3df
Diffstat (limited to 'src/vnet')
-rw-r--r-- | src/vnet/tcp/tcp_debug.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vnet/tcp/tcp_debug.h b/src/vnet/tcp/tcp_debug.h index 03240c679eb..a0bdaa3684d 100644 --- a/src/vnet/tcp/tcp_debug.h +++ b/src/vnet/tcp/tcp_debug.h @@ -23,7 +23,11 @@ * debug configuration. Comes with some overhead so it's not recommended for * production/performance scenarios. Takes priority over TCP_DEBUG_ENABLE. */ +#ifdef VPP_TCP_DEBUG_ALWAYS +#define TCP_DEBUG_ALWAYS (1) +#else #define TCP_DEBUG_ALWAYS (0) +#endif /** * Build debugging infra only if enabled. Debug components controlled via * macros that follow. |