]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net/tcp_ao: tracing: Hide tcp_ao events under CONFIG_TCP_AO
authorSteven Rostedt <rostedt@goodmis.org>
Thu, 12 Jun 2025 13:46:16 +0000 (09:46 -0400)
committerJakub Kicinski <kuba@kernel.org>
Mon, 16 Jun 2025 21:58:28 +0000 (14:58 -0700)
commit3cfbde048b1c0606d0e02ecb0319c8748421bc7c
treed55d613661ad708e90a9df3ef711d219e7381911
parent8909f5f4ecd551c2299b28e05254b77424c8c7dc
net/tcp_ao: tracing: Hide tcp_ao events under CONFIG_TCP_AO

Several of the tcp_ao events are only called when CONFIG_TCP_AO is
defined. As each event can take up to 5K regardless if they are used or
not, it's best not to define them when they are not used. Add #ifdef
around these events when they are not used.

Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250612094616.4222daf0@batman.local.home
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/trace/events/tcp.h