From: Andrew Morton <akpm@linux-foundation.org>
To: Mauricio Faria de Oliveira <mfo@igalia.com>
Cc: Yury Norov <ynorov@nvidia.com>,
Valtteri Koskivuori <vkoskiv@gmail.com>,
kernel-dev@igalia.com, linux-kernel@vger.kernel.org,
Eric Dumazet <edumazet@kernel.org>
Subject: Re: [PATCH] scripts/bloat-o-meter: describe output fields in help text
Date: Thu, 26 Nov 2026 17:18:45 -0800 [thread overview]
Message-ID: <20261126171845.de2fdb3c4b15b1b6a22fb7f0@linux-foundation.org> (raw)
In-Reply-To: <20261126-bloat-o-meter-help-v1-1-fb0785c94bbf@igalia.com>
On Thu, 26 Nov 2026 19:13:00 -0300 Mauricio Faria de Oliveira <mfo@igalia.com> wrote:
> 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.
>
Nice, thanks.
RawTextHelpFormatter has apparently been in argparse since 2011 so
there's no breakage risk.
> Before: size of all symbols in old file.
> After: size of all symbols in new file.
LLM suggested a little adjustment here. wdyt?
From: Andrew Morton <akpm@linux-foundation.org>
Subject: scripts/bloat-o-meter: clarify Before and After help text
Date: Thu, 26 Nov 2026 17:15:17 -0800
bloat-o-meter selects symbol types according to its options and filters
some names. Mauricio Faria de Oliveira's new help text describes Before
and After as the sizes of all symbols in each file, which includes
symbols that the script does not count. Say "selected symbols" instead.
--- a/scripts/bloat-o-meter~scripts-bloat-o-meter-describe-output-fields-in-help-text-fix
+++ a/scripts/bloat-o-meter
@@ -27,8 +27,8 @@ fields:
'-' 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.
+ Before: size of selected symbols in old file.
+ After: size of selected symbols in new file.
chg: percent change.
Symbols in both files with the same size are only counted in Before/After/chg.
_
prev parent reply other threads:[~2026-11-27 1:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 22:13 Mauricio Faria de Oliveira
2026-11-27 1:18 ` 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=20261126171845.de2fdb3c4b15b1b6a22fb7f0@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=edumazet@kernel.org \
--cc=kernel-dev@igalia.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mfo@igalia.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®