4a4b75e75a
Reorganizes structs with holes as non disruptively as possible to combine holes, possibly reducing the struct size. It doesn't yet combines bit holes, but will. And will suggest type demotion in the bitfields case i.e. if there is a integer (4) bytes bitfield that could fit on an short int bitfield or on a char bitfield, it'll do just that 8) Examples are available at: http://oops.ghostprotocols.net:81/acme/dwarves/pahole--reorganize-ide-core-struct-hwif_s.pahole.txt http://oops.ghostprotocols.net:81/acme/dwarves/pahole--reorganize-sched-struct-task_struct.pahole.txt http://oops.ghostprotocols.net:81/acme/dwarves/pahole--reorganize-serial-struct-jsm_channel.pahole.txt Also look at a more detailed description at my blog: http://oops.ghostprotocols.net:81/blog/?p=49 Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> |
||
---|---|---|
.. | ||
SPECS |