public inbox for dwarves@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] --padding option to combine with --with_flexible_array
@ 2024-09-27 18:59 Arnaldo Carvalho de Melo
  2024-09-27 18:59 ` [PATCH 1/2] pahole: Add --padding_ge N to show only structs with at least N bytes of padding at its end Arnaldo Carvalho de Melo
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Arnaldo Carvalho de Melo @ 2024-09-27 18:59 UTC (permalink / raw)
  To: Willy Tarreau
  Cc: dwarves, Alan Maguire, Jiri Olsa, Clark Williams, Kate Carcia,
	Arnaldo Carvalho de Melo, Gustavo A. R. Silva

From: Arnaldo Carvalho de Melo <acme@redhat.com>

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-09-30 14:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-27 18:59 [PATCH 0/2] --padding option to combine with --with_flexible_array Arnaldo Carvalho de Melo
2024-09-27 18:59 ` [PATCH 1/2] pahole: Add --padding_ge N to show only structs with at least N bytes of padding at its end Arnaldo Carvalho de Melo
2024-09-27 18:59 ` [PATCH 2/2] pahole: Add --padding N to show only structs with " Arnaldo Carvalho de Melo
2024-09-27 19:22 ` [PATCH 0/2] --padding option to combine with --with_flexible_array Gustavo A. R. Silva
2024-09-27 19:39   ` Arnaldo Carvalho de Melo
2024-09-27 20:08     ` Gustavo A. R. Silva
2024-09-27 21:15 ` Willy Tarreau
2024-09-28  4:36   ` Willy Tarreau
2024-09-30 14:32     ` Arnaldo Carvalho de Melo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox