[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220703191654.082db731@gandalf.local.home>
Date: Sun, 3 Jul 2022 19:16:54 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: David Ahern <dsahern@...il.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: [PATCH] tracing/ipv4/ipv6: Give size to name field in
fib*_lookup_table event
On Sun, 3 Jul 2022 13:03:20 -0600
David Ahern <dsahern@...il.com> wrote:
> > Alternatively, if the intent was to use a fixed size, then it should be
> > converted into __array() of type char, which will remove the meta data in
> > the event that stores the size.
>
> I would prefer this option over duplicating the all of the checks to
> save 14B.
That's why I mentioned the alternative. To give you that option.
I'll send a v2 later that uses the static array.
-- Steve
Powered by blists - more mailing lists