Skip to content

--padding option to combine with --with_flexible_array

Arnaldo Carvalho de Melo dwarves 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2pahole: Add --padding_ge N to show only structs with at least N bytes of padding at its endman-pages/pahole.1 pahole.c+15 -10 replies
2/2pahole: Add --padding N to show only structs with N bytes of padding at its endman-pages/pahole.1 pahole.c+10 -10 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchGustavo A. R. SilvaWilly Tarreau
SeriesA-b A-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] --padding option to combine with --with_flexible_array

From: Arnaldo Carvalho de Melo <[email protected]>

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(-)
Signature · 1 line
2.46.0