[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210825174733.38a484f8@rorschach.local.home>
Date: Wed, 25 Aug 2021 17:47:33 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Eric Dumazet <edumazet@...gle.com>
Cc: Zhongya Yan <yan2228598786@...il.com>,
Jakub Kicinski <kuba@...nel.org>,
netdev <netdev@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>,
Ingo Molnar <mingo@...hat.com>,
David Miller <davem@...emloft.net>,
Hideaki YOSHIFUJI <yoshfuji@...ux-ipv6.org>,
David Ahern <dsahern@...nel.org>, hengqi.chen@...il.com,
Yonghong Song <yhs@...com>
Subject: Re: [PATCH] net: tcp_drop adds `reason` parameter for tracing
On Wed, 25 Aug 2021 08:39:40 -0700
Eric Dumazet <edumazet@...gle.com> wrote:
> Since these drops are hardly hot path, why not simply use a string ?
> An ENUM will not really help grep games.
I'm more concerned with ring buffer space than hot paths. The ring
buffer is limited in size, and the bigger the events, the less there
are.
grep games shouldn't be too bad, since it would find the place that
maps the names with the enums, and then you just search for the enums.
-- Steve
Powered by blists - more mailing lists