Re: [PATCH] tracing/ipv4/ipv6: Give size to name field in fib*_lookup_table event

From: Steven Rostedt
Date: Sun Jul 03 2022 - 19:17:03 EST


On Sun, 3 Jul 2022 13:03:20 -0600
David Ahern <dsahern@xxxxxxxxx> 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