summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorValtteri Koskivuori <vkoskiv@gmail.com>2026-02-13 00:39:33 +0300
committerAndrew Morton <akpm@linux-foundation.org>2026-03-28 07:19:33 +0300
commit3f80aa1a2a44298c59e8e2ab9b10d9971cfd8c48 (patch)
treecb8120fbdfd1d4160150cf745102a45dfb553600 /scripts
parenta98621a0f187a934c115dcfe79a49520ae892111 (diff)
downloadlinux-3f80aa1a2a44298c59e8e2ab9b10d9971cfd8c48.tar.xz
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>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bloat-o-meter6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/bloat-o-meter b/scripts/bloat-o-meter
index db5dd18dc2d5..9b4fb996d95b 100755
--- a/scripts/bloat-o-meter
+++ b/scripts/bloat-o-meter
@@ -18,8 +18,8 @@ group.add_argument('-c', help='categorize output based on symbol type', action='
group.add_argument('-d', help='Show delta of Data Section', action='store_true')
group.add_argument('-t', help='Show delta of text Section', action='store_true')
parser.add_argument('-p', dest='prefix', help='Arch prefix for the tool being used. Useful in cross build scenarios')
-parser.add_argument('file1', help='First file to compare')
-parser.add_argument('file2', help='Second file to compare')
+parser.add_argument('file_old', help='First file to compare')
+parser.add_argument('file_new', help='Second file to compare')
args = parser.parse_args()
@@ -86,7 +86,7 @@ def calc(oldfile, newfile, format):
def print_result(symboltype, symbolformat):
grow, shrink, add, remove, up, down, delta, old, new, otot, ntot = \
- calc(args.file1, args.file2, symbolformat)
+ calc(args.file_old, args.file_new, symbolformat)
print("add/remove: %s/%s grow/shrink: %s/%s up/down: %s/%s (%s)" % \
(add, remove, grow, shrink, up, -down, up-down))