Messages in this thread | | | Date | Wed, 25 Aug 2021 17:47:33 -0400 | From | Steven Rostedt <> | Subject | Re: [PATCH] net: tcp_drop adds `reason` parameter for tracing |
| |
On Wed, 25 Aug 2021 08:39:40 -0700 Eric Dumazet <edumazet@google.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
| |