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

From: Steven Rostedt
Date: Wed Mar 10 2021 - 11:32:20 EST


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

> 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.

I was thinking of pahole too ;-)

But the information can also be captured from the format files with simple
scripts as well. And perhaps be more tuned to see if there's actually a fix
for them, and ignore reporting it if there is no fix, as all trace events
are 4 byte aligned, and if we are off by one, sometimes it doesn't matter.

-- Steve