From: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx> Hi, This implements --padding, that combined with the already available --with_flexible_array option may catch some questionable structs. This comes from a quick discussion I had with Willy Tareau after Gustavo's talk at this year's Kernel Recipes. I have this in the 'next' branch of: https://git.kernel.org/pub/scm/devel/pahole/pahole.git Willy, is that what you had in mind? Cheers, - Arnaldo Arnaldo Carvalho de Melo (2): pahole: Add --padding_ge N to show only structs with at least N bytes of padding at its end pahole: Add --padding N to show only structs with N bytes of padding at its end man-pages/pahole.1 | 8 ++++++++ pahole.c | 17 ++++++++++++++++- 2 files changed, 24 insertions(+), 1 deletion(-) -- 2.46.0