[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210310114942.3ffb5e1f@gandalf.local.home>
Date: Wed, 10 Mar 2021 11:49:42 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: Tony Lu <tonylu@...ux.alibaba.com>
Cc: 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 Wed, 10 Mar 2021 17:03:40 +0800
Tony Lu <tonylu@...ux.alibaba.com> 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
Powered by blists - more mailing lists