Re: [PATCH] net: add net namespace inode for all net_dev events

From: Steven Rostedt
Date: Tue Mar 09 2021 - 15:03:16 EST


On Tue, 9 Mar 2021 12:53:37 -0700
David Ahern <dsahern@xxxxxxxxx> wrote:

> Changing the order of the fields will impact any bpf programs expecting
> the existing format

I thought bpf programs were not API. And why are they not parsing this
information? They have these offsets hard coded???? Why would they do that!
The information to extract the data where ever it is has been there from
day 1! Way before BPF ever had access to trace events.

Please, STOP HARD CODING FIELD OFFSETS!!!! This is why people do not want
to use trace points in the first place. Because tools do stupid things.

-- Steve