Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

scripts/bloat-o-meter: rename file arguments to match output

The output of bloat-o-meter already uses the words 'old' and 'new' for
symbol size in the table header, so reflect that in the corresponding
argument names.

Link: https://lkml.kernel.org/r/20260212213941.3984330-1-vkoskiv@gmail.com
Signed-off-by: Valtteri Koskivuori <vkoskiv@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

Valtteri Koskivuori and committed by
Andrew Morton
3f80aa1a a98621a0

+3 -3
+3 -3
scripts/bloat-o-meter
··· 18 18 group.add_argument('-d', help='Show delta of Data Section', action='store_true') 19 19 group.add_argument('-t', help='Show delta of text Section', action='store_true') 20 20 parser.add_argument('-p', dest='prefix', help='Arch prefix for the tool being used. Useful in cross build scenarios') 21 - parser.add_argument('file1', help='First file to compare') 22 - parser.add_argument('file2', help='Second file to compare') 21 + parser.add_argument('file_old', help='First file to compare') 22 + parser.add_argument('file_new', help='Second file to compare') 23 23 24 24 args = parser.parse_args() 25 25 ··· 86 86 87 87 def print_result(symboltype, symbolformat): 88 88 grow, shrink, add, remove, up, down, delta, old, new, otot, ntot = \ 89 - calc(args.file1, args.file2, symbolformat) 89 + calc(args.file_old, args.file_new, symbolformat) 90 90 91 91 print("add/remove: %s/%s grow/shrink: %s/%s up/down: %s/%s (%s)" % \ 92 92 (add, remove, grow, shrink, up, -down, up-down))