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

From: Steven Rostedt
Date: Wed Mar 10 2021 - 11:50:34 EST


On Wed, 10 Mar 2021 17:03:40 +0800
Tony Lu <tonylu@xxxxxxxxxxxxxxxxx> wrote:

> On Tue, Mar 09, 2021 at 12:40:11PM -0500, Steven Rostedt wrote:


> > The above shows 10 bytes wasted for this event.
> >


>
> I use pahole to read vmlinux.o directly with defconfig and
> CONFIG_DEBUG_INFO enabled, the result shows 22 structs prefixed with
> trace_event_raw_ that have at least one hole.
>

>
> pahole shows there are 5 holes with 10 bytes in net_dev_start_xmit event.
>

Oh, an I'm glad that my analysis matched with pahole ;-)

-- Steve