[PATCH v2] bloat-o-meter: line wrapped at 75 columns instead of 80

Jones Syue 薛懷宗 jonessyue at qnap.com
Wed Mar 13 01:08:13 UTC 2024


> Per test it looks like busybox has one more items: ".rodata", if the
> modification contains a format strings like this:
> log5("crond_dummy 1 %d %d\n", crond_dummy_global_int, crond_dummy_local_int);

Looks like the formatted strings is considered as a string literal, not a
symbol, while linux kernel's bloat-o-meter is doing symbol lookup through
'nm', which could not find the diff of string literal, and show nothing 
change in the 'RO Data' category. The string literal is resident in the 
.rodata section, and busybox's bloat-o-meter is reading the .rodata section
through 'readelf' so it could find the size diff.

--

Regards,
Jones Syue | 薛懷宗
QNAP Systems, Inc.


More information about the busybox mailing list