On Wed, 10 Mar 2021 17:03:40 +0800 Tony Lu <ton...@linux.alibaba.com> 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