[PAHOLE]: Rework the output of pahole --packable
Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
This commit is contained in:
parent
5df74480e4
commit
f3c4f527f7
4
pahole.c
4
pahole.c
|
@ -163,8 +163,8 @@ static void print_classes(void (*formatter)(const struct structure *s))
|
|||
const size_t orig_size = class__size(c);
|
||||
const size_t new_size = class__size(c->priv);
|
||||
const size_t savings = orig_size - new_size;
|
||||
printf("%s: %zd -> %zd: %zd\n", class__name(c),
|
||||
orig_size, new_size, savings);
|
||||
printf("%-32s %5zd %5zd %5zd\n",
|
||||
class__name(c), orig_size, new_size, savings);
|
||||
} else
|
||||
formatter(pos);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue