[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210309150227.48281a18@gandalf.local.home>
Date: Tue, 9 Mar 2021 15:02:27 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: David Ahern <dsahern@...il.com>
Cc: Tony Lu <tonylu@...ux.alibaba.com>, davem@...emloft.net,
mingo@...hat.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: add net namespace inode for all net_dev events
On Tue, 9 Mar 2021 12:53:37 -0700
David Ahern <dsahern@...il.com> 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
Powered by blists - more mailing lists