lkml.org 
[lkml]   [2022]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@gmail.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

\
 
 \ /
  Last update: 2022-07-04 01:19    [W:0.051 / U:0.608 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site