From: Andrew Morton <akpm@linux-foundation.org>
To: mm-commits@vger.kernel.org,ynorov@nvidia.com,vkoskiv@gmail.com,
edumazet@kernel.org,mfo@igalia.com,akpm@linux-foundation.org
Subject: + scripts-bloat-o-meter-describe-output-fields-in-help-text.patch added to mm-nonmm-unstable branch
Date: Thu, 26 Nov 2026 17:19:25 -0800 [thread overview]
Message-ID: <20261127011925.C1C651F000C1@smtp.kernel.org> (raw)
In-Reply-To: <20261126-bloat-o-meter-help-v1-1-fb0785c94bbf@igalia.com>
The patch titled
Subject: scripts/bloat-o-meter: describe output fields in help text
has been added to the -mm mm-nonmm-unstable branch. Its filename is
scripts-bloat-o-meter-describe-output-fields-in-help-text.patch
This patch will shortly appear at
https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/scripts-bloat-o-meter-describe-output-fields-in-help-text.patch
This patch will later appear in the mm-nonmm-unstable branch at
git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next via various
branches at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there most days
------------------------------------------------------
From: Mauricio Faria de Oliveira <mfo@igalia.com>
Subject: scripts/bloat-o-meter: describe output fields in help text
Date: Thu, 26 Nov 2026 19:13:00 -0300
First time users of the bloat-o-meter script might not understand what
its output fields mean (add/remove, grow/shrink, up/down, Before/After),
and even occasional users might eventually forget.
Describe the output fields in the help text, so it is quick to find out.
RawTextHelpFormatter is used in order to keep line breaks in place.
Link: https://patch.msgid.link/20261126-bloat-o-meter-help-v1-1-fb0785c94bbf@igalia.com
Signed-off-by: Mauricio Faria de Oliveira <mfo@igalia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Yury Norov <ynorov@nvidia.com>
Cc: Valtteri Koskivuori <vkoskiv@gmail.com>
Cc: Eric Dumazet <edumazet@kernel.org>
scripts/bloat-o-meter | 24 +++++++++++++++++++++++-
1 file changed, 23 insertions(+), 1 deletion(-)
--- a/scripts/bloat-o-meter~scripts-bloat-o-meter-describe-output-fields-in-help-text
+++ a/scripts/bloat-o-meter
@@ -9,10 +9,32 @@
import sys, os, re, argparse
from signal import signal, SIGPIPE, SIG_DFL
+from argparse import RawTextHelpFormatter
signal(SIGPIPE, SIG_DFL)
-parser = argparse.ArgumentParser(description="Simple script used to compare the symbol sizes of 2 object files")
+description = \
+"""
+Simple script used to compare the symbol sizes of 2 object files
+
+fields:
+ add/remove: number of symbols added in the new file / removed from the old file.
+ grow/shrink: number of symbols in both files that had a size increase / decrease.
+ up/down: size of symbols added plus size increase / removed plus size decrease.
+ (change): difference between up and down sizes.
+
+ Symbol lines: symbol name, old size, new size, and size delta;
+ '-' means symbol added/removed;
+ '0' delta symbols not included.
+
+ Before: size of all symbols in old file.
+ After: size of all symbols in new file.
+ chg: percent change.
+
+ Symbols in both files with the same size are only counted in Before/After/chg.
+"""
+
+parser = argparse.ArgumentParser(description=description, formatter_class=RawTextHelpFormatter)
group = parser.add_mutually_exclusive_group()
group.add_argument('-c', help='categorize output based on symbol type', action='store_true')
group.add_argument('-d', help='Show delta of Data Section', action='store_true')
_
Patches currently in -mm which might be from mfo@igalia.com are
scripts-bloat-o-meter-describe-output-fields-in-help-text.patch
prev parent reply other threads:[~2026-11-27 1:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 22:13 [PATCH] scripts/bloat-o-meter: describe output fields in help text Mauricio Faria de Oliveira
2026-11-27 1:18 ` Andrew Morton
2026-11-27 14:33 ` Mauricio Faria de Oliveira
2026-11-29 3:27 ` + scripts-bloat-o-meter-describe-output-fields-in-help-text-fix-2.patch added to mm-nonmm-unstable branch Andrew Morton
2026-11-27 1:19 ` Andrew Morton [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261127011925.C1C651F000C1@smtp.kernel.org \
--to=akpm@linux-foundation.org \
--cc=edumazet@kernel.org \
--cc=mfo@igalia.com \
--cc=mm-commits@vger.kernel.org \
--cc=vkoskiv@gmail.com \
--cc=ynorov@nvidia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.