[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250614153003.GP414686@horms.kernel.org>
Date: Sat, 14 Jun 2025 16:30:03 +0100
From: Simon Horman <horms@...nel.org>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
Linux trace kernel <linux-trace-kernel@...r.kernel.org>,
netdev@...r.kernel.org, Masami Hiramatsu <mhiramat@...nel.org>,
Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
Eric Dumazet <edumazet@...gle.com>,
Neal Cardwell <ncardwell@...gle.com>,
Kuniyuki Iwashima <kuniyu@...zon.com>
Subject: Re: [PATCH] net/tcp_ao: tracing: Hide tcp_ao events under
CONFIG_TCP_AO
On Thu, Jun 12, 2025 at 09:46:16AM -0400, Steven Rostedt wrote:
> From: Steven Rostedt <rostedt@...dmis.org>
>
> 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@...dmis.org>
Thanks Steven,
I agree that the events and classes covered by this #define
are not used unless CONFIG_TCP_AO is set. And that the small
number of TCP_AO related events that are left outside
the define are used even when CONFIG_TCP_AO is not set.
Reviewed-by: Simon Horman <horms@...nel.org>
Powered by blists - more mailing lists