> Change the outout of bloat-o-meter, line wrapped at maximum 75 columns; > including 'function/old/new/delta' title and numbers, seperation line with > '-', and the last line 'Total'. Also put 'Total' numbers to the last column > in order to keep it aligned with previous 'delta' numbers.
This is an example, use awk to count length per line[1]. Before applied this patch: 72 function old new delta 72 crond_dummy_func - 211 +211 72 .rodata 59300 59404 +104 72 crond_main 704 709 +5 72 static.crond_dummy_local_int - 4 +4 72 crond_dummy_global_int - 4 +4 78 ------------------------------------------------------------------------------ 78 (add/remove: 3/0 grow/shrink: 2/0 up/down: 328/0) Total: 328 bytes After applied this patch: 75 function old new delta 75 crond_dummy_func - 211 +211 75 .rodata 59300 59404 +104 75 crond_main 704 709 +5 75 static.crond_dummy_local_int - 4 +4 75 crond_dummy_global_int - 4 +4 75 --------------------------------------------------------------------------- 75 (add/remove: 3/0 grow/shrink: 2/0 up/down: 328/0) Total bytes: 328 [1] ~/git/busybox/scripts/bloat-o-meter ~/busybox_unstripped_{orig,fix} \ | awk '{ print length, $0 }' -- Regards, Jones Syue | 薛懷宗 QNAP Systems, Inc. _______________________________________________ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox